* Packages for SDF2, StrategoXT.

svn path=/nixpkgs/trunk/; revision=157
This commit is contained in:
Eelco Dolstra 2003-07-13 21:27:09 +00:00
parent 07b84525a9
commit 3980a39bd0
6 changed files with 48 additions and 2 deletions

View File

@ -4,7 +4,6 @@ export PATH=/bin:/usr/bin
tar xvfz $src || exit 1
cd aterm-* || exit 1
./configure --prefix=$out || exit 1
./configure --prefix=$out --with-gcc || exit 1
make || exit 1
mkdir $out || exit 1
make install || exit 1

9
pkgs/sdf2/sdf2-build.sh Executable file
View File

@ -0,0 +1,9 @@
#! /bin/sh
export PATH=/bin:/usr/bin
tar xvfz $src || exit 1
cd sdf2-* || exit 1
./configure --prefix=$out --with-aterm=$aterm || exit 1
make || exit 1
make install || exit 1

13
pkgs/sdf2/sdf2.fix Normal file
View File

@ -0,0 +1,13 @@
Package(
[ ("name", "sdf2-1.6")
, ("build", Relative("sdf2/sdf2-build.sh"))
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
[ ("url", "ftp://ftp.stratego-language.org/pub/stratego/sdf2/sdf2-bundle-1.6.tar.gz")
, ("md5", "283be0b4c7c9575c1b5cc735316e6192")
]))
, ("aterm", IncludeFix("aterm/aterm.fix"))
]
)

View File

@ -0,0 +1,9 @@
#! /bin/sh
export PATH=/bin:/usr/bin
tar xvfz $src || exit 1
cd strategoxt-* || exit 1
./configure --prefix=$out --with-aterm=$aterm --with-sdf=$sdf2 || exit 1
make || exit 1
make install || exit 1

View File

@ -0,0 +1,14 @@
Package(
[ ("name", "strategoxt-0.9.2")
, ("build", Relative("strategoxt/strategoxt-build.sh"))
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
[ ("url", "ftp://ftp.stratego-language.org/pub/stratego/StrategoXT/strategoxt-0.9.2-3067.tar.gz")
, ("md5", "0d849a9409c40cdc66cbdee4d00726b2")
]))
, ("aterm", IncludeFix("aterm/aterm.fix"))
, ("sdf2", IncludeFix("sdf2/sdf2.fix"))
]
)

View File

@ -5,5 +5,7 @@ Package(
, ("actPkgConfig", IncludeFix("pkgconfig/pkgconfig.fix"))
, ("actSubversion", IncludeFix("subversion/subversion.fix"))
, ("actPan", IncludeFix("pan/pan.fix"))
, ("actSDF", IncludeFix("sdf2/sdf2.fix"))
, ("actStrategoXT", IncludeFix("strategoxt/strategoxt.fix"))
]
)