nixpkgs/pkgs/development/compilers/tiger/builder.sh
Eelco Visser e995558293 Nix expressions for sdf, strategoxt, and tiger.
svn path=/nixpkgs/trunk/; revision=581
2003-12-12 14:46:30 +00:00

18 lines
340 B
Bash
Executable File

#! /bin/sh
buildinputs="$aterm $sdf $strategoxt"
. $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