2004-08-19 17:29:10 +02:00
|
|
|
. $stdenv/setup
|
|
|
|
|
|
|
|
configureFlags=""
|
|
|
|
if test "$pythonSupport"; then
|
|
|
|
configureFlags="--with-python=$python $configureFlags"
|
|
|
|
fi
|
|
|
|
|
|
|
|
patchPhase() {
|
|
|
|
echo "Patching"
|
|
|
|
mv configure configure.old
|
2005-10-11 16:29:30 +02:00
|
|
|
sed -e "s^pythondir=.*$^pythondir=$out/lib/python2.4/site-packages^" < configure.old > configure
|
2004-08-19 17:29:10 +02:00
|
|
|
chmod u+x configure
|
|
|
|
}
|
|
|
|
patchPhase=patchPhase
|
|
|
|
|
|
|
|
genericBuild
|