* added readline
svn path=/nixpkgs/trunk/; revision=1230
This commit is contained in:
parent
a4215841ac
commit
6412b0c5f2
10
pkgs/development/libraries/readline/builder.sh
Normal file
10
pkgs/development/libraries/readline/builder.sh
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
set -x
|
||||||
|
|
||||||
|
. $stdenv/setup
|
||||||
|
|
||||||
|
tar xvfz $src
|
||||||
|
cd readline-*
|
||||||
|
./configure --prefix=$out --with-curses
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
#strip -S $out/lib/*/*.a
|
12
pkgs/development/libraries/readline/default.nix
Normal file
12
pkgs/development/libraries/readline/default.nix
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{ stdenv, fetchurl, ncurses }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "readline-5.0";
|
||||||
|
builder = ./builder.sh;
|
||||||
|
src = fetchurl {
|
||||||
|
url = ftp://ftp.cwru.edu/pub/bash/readline-5.0.tar.gz ;
|
||||||
|
md5 = "9a39d15f1ed592883f8c6671e8c13120";
|
||||||
|
};
|
||||||
|
inherit ncurses;
|
||||||
|
buildInputs = [ncurses];
|
||||||
|
}
|
@ -529,6 +529,10 @@ rec {
|
|||||||
inherit fetchurl stdenv pkgconfig wxGTK python;
|
inherit fetchurl stdenv pkgconfig wxGTK python;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
readline = (import ../development/libraries/readline) {
|
||||||
|
inherit fetchurl stdenv ncurses;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
### SERVERS
|
### SERVERS
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@ let {
|
|||||||
gnum4
|
gnum4
|
||||||
valgrind
|
valgrind
|
||||||
texinfo
|
texinfo
|
||||||
|
readline
|
||||||
octave
|
octave
|
||||||
gnumake
|
gnumake
|
||||||
bisonnew
|
bisonnew
|
||||||
|
Loading…
x
Reference in New Issue
Block a user