* 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:
11
pkgs/development/libraries/ncurses/builder.sh
Executable file
11
pkgs/development/libraries/ncurses/builder.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#! /bin/sh -e
|
||||
|
||||
buildinputs=""
|
||||
. $stdenv/setup
|
||||
|
||||
tar xvfz $src
|
||||
cd ncurses-*
|
||||
./configure --prefix=$out --with-shared
|
||||
make
|
||||
make install
|
||||
strip -S $out/lib/*.a
|
||||
12
pkgs/development/libraries/ncurses/default.nix
Normal file
12
pkgs/development/libraries/ncurses/default.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
derivation {
|
||||
name = "ncurses-5.4";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.4.tar.gz;
|
||||
md5 = "069c8880072060373290a4fefff43520";
|
||||
};
|
||||
inherit stdenv;
|
||||
}
|
||||
13
pkgs/development/libraries/rna/builder.sh
Executable file
13
pkgs/development/libraries/rna/builder.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#! /bin/sh -e
|
||||
|
||||
buildinputs="$zlib"
|
||||
. $stdenv/setup
|
||||
|
||||
tar xvfz $src
|
||||
cd rna-*
|
||||
./configure --prefix=$out
|
||||
make
|
||||
make install
|
||||
strip -S $out/lib/*.a
|
||||
|
||||
echo "$zlib" > $out/propagated-build-inputs
|
||||
14
pkgs/development/libraries/rna/default.nix
Normal file
14
pkgs/development/libraries/rna/default.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{stdenv, fetchurl, zlib}:
|
||||
|
||||
assert zlib != null;
|
||||
|
||||
derivation {
|
||||
name = "rna-0.14c";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.radionetworkprocessor.com/pub/radionetworkprocessor/rna-0.14c.tar.gz;
|
||||
md5 = "1e2947caf8a680e93cac55bffe2d6ec6";
|
||||
};
|
||||
inherit stdenv zlib;
|
||||
}
|
||||
Reference in New Issue
Block a user