nixpkgs/pkgs/development/tools/misc/lcov/builder.sh
Eelco Dolstra 7ee62b0bd9 * Added lcov (from CVS).
svn path=/nixpkgs/trunk/; revision=1593
2004-10-22 14:34:58 +00:00

18 lines
305 B
Bash

. $stdenv/setup
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