* Added gperf, texinfo, ncurses.
* Started moving the gcc wrapper stuff out of stdenv. * Added octavefront and rna. svn path=/nixpkgs/trunk/; revision=814
This commit is contained in:
9
pkgs/development/tools/misc/gperf/builder.sh
Executable file
9
pkgs/development/tools/misc/gperf/builder.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#! /bin/sh -e
|
||||
|
||||
. $stdenv/setup
|
||||
|
||||
tar xvfz $src
|
||||
cd gperf-*
|
||||
./configure --prefix=$out
|
||||
make
|
||||
make install
|
||||
12
pkgs/development/tools/misc/gperf/default.nix
Normal file
12
pkgs/development/tools/misc/gperf/default.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
derivation {
|
||||
name = "gperf-2.7.2";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.gnu.org/gnu/gperf/gperf-2.7.2.tar.gz;
|
||||
md5 = "e501acc2e18eed2c8f25ca0ac2330d68";
|
||||
};
|
||||
inherit stdenv;
|
||||
}
|
||||
15
pkgs/development/tools/misc/octavefront/builder.sh
Executable file
15
pkgs/development/tools/misc/octavefront/builder.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#! /bin/sh -e
|
||||
|
||||
buildinputs="$autoconf $g77 $texinfo $bison $flex $gperf $rna $aterm"
|
||||
. $stdenv/setup
|
||||
|
||||
g77orig=$(cat $g77/orig-gcc)
|
||||
export NIX_LDFLAGS="-rpath $g77orig/lib $NIX_LDFLAGS"
|
||||
|
||||
tar xvfz $src
|
||||
cd octavefront-*
|
||||
./autogen.sh
|
||||
./configure --prefix=$out --disable-readline --enable-rna=$rna --enable-aterm
|
||||
make
|
||||
make install
|
||||
strip -S $out/lib/*/*.a
|
||||
19
pkgs/development/tools/misc/octavefront/default.nix
Normal file
19
pkgs/development/tools/misc/octavefront/default.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ stdenv, fetchurl, autoconf, g77, texinfo, bison, flex, gperf
|
||||
, rna, aterm
|
||||
}:
|
||||
|
||||
assert autoconf != null && texinfo != null
|
||||
&& bison != null && flex != null && gperf != null
|
||||
&& rna != null && aterm != null;
|
||||
assert g77.langF77;
|
||||
|
||||
derivation {
|
||||
name = "octavefront-0.2";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.radionetworkprocessor.com/pub/radionetworkprocessor/octavefront-0.2.tar.gz;
|
||||
md5 = "14e02d060fd6afc6752dbba0a7445ff2";
|
||||
};
|
||||
inherit stdenv autoconf g77 texinfo bison flex gperf rna aterm;
|
||||
}
|
||||
10
pkgs/development/tools/misc/texinfo/builder.sh
Executable file
10
pkgs/development/tools/misc/texinfo/builder.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#! /bin/sh -e
|
||||
|
||||
buildinputs="$ncurses"
|
||||
. $stdenv/setup
|
||||
|
||||
tar xvfz $src
|
||||
cd texinfo-*
|
||||
./configure --prefix=$out
|
||||
make
|
||||
make install
|
||||
14
pkgs/development/tools/misc/texinfo/default.nix
Normal file
14
pkgs/development/tools/misc/texinfo/default.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{stdenv, fetchurl, ncurses}:
|
||||
|
||||
assert ncurses != null;
|
||||
|
||||
derivation {
|
||||
name = "texinfo-4.6";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.gnu.org/gnu/texinfo/texinfo-4.6.tar.gz;
|
||||
md5 = "5730c8c0c7484494cca7a7e2d7459c64";
|
||||
};
|
||||
inherit stdenv ncurses;
|
||||
}
|
||||
Reference in New Issue
Block a user