nixpkgs/pkgs/development/compilers/tiger/builder.sh
Eelco Dolstra 82e678362f * "." -> "source".
svn path=/nixpkgs/trunk/; revision=4335
2005-12-05 14:11:09 +00:00

15 lines
333 B
Bash

buildinputs="$aterm $sdf $strategoxt"
source $stdenv/setup || exit 1
tar zxf $src || exit 1
cd tiger-* || exit 1
./configure --prefix=$out \
--with-aterm=$aterm \
--with-sdf=$sdf \
--with-stratego-xt=$strategoxt \
--enable-tiger \
--enable-ir \
--enable-asm \
|| exit 1
make || exit 1
make install || exit 1