2005-12-05 15:11:09 +01:00
|
|
|
source $stdenv/setup
|
2004-10-22 16:34:58 +02:00
|
|
|
|
|
|
|
installFlags="PREFIX=$out"
|
|
|
|
|
|
|
|
preInstall=preInstall
|
|
|
|
preInstall() {
|
|
|
|
for i in bin/*; do
|
|
|
|
echo "fixing $i..."
|
|
|
|
sed -e "s^@PREFIX@^$out^" \
|
|
|
|
-e "s^@PERL@^$perl/bin/perl^" \
|
|
|
|
< $i > $i.tmp
|
|
|
|
mv $i.tmp $i
|
|
|
|
chmod +x $i
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
genericBuild
|