2004-01-22 20:55:37 +01:00
|
|
|
buildinputs="$aterm $getopt $toolbuslib $ptsupport $sdfsupport $asfsupport $ascsupport $sglr"
|
2004-03-09 11:59:55 +01:00
|
|
|
. $stdenv/setup
|
2004-01-22 20:55:37 +01:00
|
|
|
|
2004-03-09 11:59:55 +01:00
|
|
|
tar zxf $src
|
|
|
|
cd pgen-*
|
2004-01-22 20:55:37 +01:00
|
|
|
./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 \
|
2004-03-09 11:59:55 +01:00
|
|
|
--with-sglr=$sglr
|
|
|
|
make install
|
2004-01-22 20:55:37 +01:00
|
|
|
|
2004-03-09 11:59:55 +01:00
|
|
|
mkdir $out/nix-support
|
|
|
|
echo "$getopt" > $out/nix-support/propagated-build-inputs
|