summary refs log tree commit diff
path: root/pkgs/development/tools/misc/lcov/builder.sh
blob: d8c79e7040b035407b12b84a60a3d77fc3edec09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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