nixpkgs/pkgs/development/tools/misc/lcov/builder.sh

18 lines
310 B
Bash
Raw Normal View History

source $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