nixpkgs/pkgs/strategoxt/pkg-build.sh
Eelco Visser 5c09abea7d * pkgs/strategoxt/pkg-build.sh: generic build script for packages
with the standard untar; bootstrap; configure; make; make install
interface.  The script is parameterized with arguments for
configure. That is, all arguments are passed verbatim to
configure.

* asfix-tools, gpp, sc, srts, stratego-front, xtc: Fix expressions
and (trivial) build script for basic strategoxt packages. All
packages are abstracted on subversion revision.

svn path=/nixpkgs/trunk/; revision=319
2003-08-18 20:56:59 +00:00

22 lines
203 B
Bash
Executable File

#! /bin/sh
set -e
export NIX_LDFLAGS=-Wl,-s
. $stdenv/setup
export PATH=$autoxt/bin:$PATH
ls -l
pwd
gtar zxf $src/$name.tar.gz
cd $name
./bootstrap
./configure --prefix=$out $*
make
make install