1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 05:25:38 +00:00
nixpkgs/pkgs/development/libraries/libxml2/builder.sh
Armijn Hemel 46d7a1ac7f actually link to zlib
svn path=/nixpkgs/trunk/; revision=5931
2006-07-25 00:52:21 +00:00

17 lines
380 B
Bash
Executable file

source $stdenv/setup
configureFlags="--with-zlib=$zlib"
if test "$pythonSupport"; then
configureFlags="--with-python=$python $configureFlags"
fi
patchPhase() {
echo "Patching"
mv configure configure.old
sed -e "s^pythondir=.*$^pythondir=$out/lib/python2.4/site-packages^" < configure.old > configure
chmod u+x configure
}
patchPhase=patchPhase
genericBuild