* 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
This commit is contained in:
Eelco Visser
2003-08-18 20:56:59 +00:00
parent 397901e36f
commit 5c09abea7d
22 changed files with 210 additions and 73 deletions
+4
View File
@@ -0,0 +1,4 @@
#! /bin/sh
set -e
$pkgbuild --with-aterm=$aterm --with-sdf=$sdf2 --with-srts=$srts --with-xtc=$xtc \
--with-stratego-front=$stratego_front
+21
View File
@@ -0,0 +1,21 @@
Function(["rev"],
Package(
[ ("name", "gpp")
, ("build", Relative("gpp/gpp-build.sh"))
, ("pkgbuild", Relative("strategoxt/pkg-build.sh"))
, ("src", App(IncludeFix("strategoxt/fetchsvn.fix"),
[ ("name", "gpp"), ("rev", Var("rev"))]))
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
, ("aterm", IncludeFix("aterm/aterm.fix"))
, ("sdf2", IncludeFix("sdf2/sdf2.fix"))
, ("autoxt", App(IncludeFix("autoxt/autoxt.fix"),[("rev",Var("rev"))]))
, ("srts", App(IncludeFix("srts/srts.fix"),[("rev",Var("rev"))]))
, ("xtc", App(IncludeFix("xtc/xtc.fix"),[("rev",Var("rev"))]))
, ("stratego_front",
App(IncludeFix("stratego-front/stratego-front.fix"),[("rev",Var("rev"))]))
]
)
)