nixpkgs/pkgs/development/tools/parsing/pgen/builder.sh
Eelco Dolstra d74192ee38 * propagated-build-inputs should now be placed in $out/nix-support.
svn path=/nixpkgs/trunk/; revision=823
2004-03-09 10:59:55 +00:00

19 lines
629 B
Bash

#! /bin/sh -e
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