nixpkgs/pkgs/development/libraries/libxml2/builder.sh
Eelco Dolstra 82e678362f * "." -> "source".
svn path=/nixpkgs/trunk/; revision=4335
2005-12-05 14:11:09 +00:00

17 lines
363 B
Bash
Executable File

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