2005-12-05 14:11:09 +00:00
|
|
|
source $stdenv/setup
|
2004-08-19 15:29:10 +00:00
|
|
|
|
2006-07-25 00:52:21 +00:00
|
|
|
configureFlags="--with-zlib=$zlib"
|
2004-08-19 15:29:10 +00:00
|
|
|
if test "$pythonSupport"; then
|
|
|
|
configureFlags="--with-python=$python $configureFlags"
|
|
|
|
fi
|
|
|
|
|
|
|
|
patchPhase() {
|
|
|
|
echo "Patching"
|
|
|
|
mv configure configure.old
|
2005-10-11 14:29:30 +00:00
|
|
|
sed -e "s^pythondir=.*$^pythondir=$out/lib/python2.4/site-packages^" < configure.old > configure
|
2004-08-19 15:29:10 +00:00
|
|
|
chmod u+x configure
|
|
|
|
}
|
|
|
|
patchPhase=patchPhase
|
|
|
|
|
|
|
|
genericBuild
|