* ncurses: builder removed, building ncursesw instead of ncurses (source-compatible).

svn path=/nixpkgs/trunk/; revision=8919
This commit is contained in:
Yury G. Kudryashov 2007-06-26 11:34:05 +00:00
parent a40edab035
commit 4512585cd5
2 changed files with 9 additions and 6 deletions

View File

@ -1,5 +0,0 @@
source $stdenv/setup
configureFlags="--with-shared --includedir=$out/include"
genericBuild

View File

@ -2,9 +2,17 @@
stdenv.mkDerivation {
name = "ncurses-5.6";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.nluug.nl/pub/gnu/ncurses/ncurses-5.6.tar.gz;
md5 = "b6593abe1089d6aab1551c105c9300e3";
};
configureFlags="--with-shared --includedir=\${out}/include --enable-widec --without-debug";
postInstall="
chmod -v 644 $out/lib/libncurses++w.a
for lib in curses ncurses form panel menu; do
rm -vf $out/lib/lib\${lib}.so
echo \"INPUT(-l\${lib}w)\" > $out/lib/lib\${lib}.so
ln -svf lib\${lib}w.a $out/lib/lib\${lib}.a
done;
";
}