Update from trunk.

svn path=/nixpkgs/branches/stdenv-updates/; revision=19066
This commit is contained in:
Ludovic Courtès
2009-12-21 11:09:23 +00:00
8 changed files with 74 additions and 23 deletions
+2
View File
@@ -20,6 +20,7 @@ stdenv.mkDerivation {
patchPhase = ''
substituteInPlace configure --replace /bin/stty "$(type -tP stty)"
sed -e '1i\#include <tclInt.h>' -i exp_inter.c
export NIX_LDFLAGS="-rpath $out/lib $NIX_LDFLAGS"
'';
configureFlags = ["--with-tcl=${tcl}/lib"
@@ -31,4 +32,5 @@ stdenv.mkDerivation {
description = "A tool for automating interactive applications";
homepage = http://expect.nist.gov/;
};
postInstall="cp expect{,k} $out/bin; ensureDir $out/lib; cp *.so $out/lib";
}