nixpkgs/pkgs/development/libraries/libxml2/builder.sh
Martin Bravenboer f407ca0506 Missing file
svn path=/nixpkgs/trunk/; revision=1298
2004-08-19 15:29:10 +00:00

17 lines
358 B
Bash
Executable file

. $stdenv/setup
configureFlags=""
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.3/site-packages^" < configure.old > configure
chmod u+x configure
}
patchPhase=patchPhase
genericBuild