summary refs log tree commit diff
path: root/pkgs/development/tools/parsing/pgen/builder.sh
blob: 4c3af02261a7fb00249e73b8c887bb1f863e808f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
buildinputs="$aterm $getopt $toolbuslib $ptsupport $sdfsupport $asfsupport $ascsupport $sglr"
. $stdenv/setup

tar zxf $src
cd pgen-*
./configure --prefix=$out --with-aterm=$aterm \
                          --with-toolbuslib=$toolbuslib \
                          --with-pt-support=$ptsupport \
                          --with-sdf-support=$sdfsupport \
                          --with-asf-support=$asfsupport \
                          --with-asc-support=$asfsupport \
                          --with-sglr=$sglr 
make install

mkdir $out/nix-support
echo "$getopt" > $out/nix-support/propagated-build-inputs