diff --git a/pkgs/aterm/aterm-build.sh b/pkgs/aterm/aterm-build.sh index aeb715795db4..0f6a72a5740e 100755 --- a/pkgs/aterm/aterm-build.sh +++ b/pkgs/aterm/aterm-build.sh @@ -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 diff --git a/pkgs/sdf2/sdf2-build.sh b/pkgs/sdf2/sdf2-build.sh new file mode 100755 index 000000000000..3d177f32010c --- /dev/null +++ b/pkgs/sdf2/sdf2-build.sh @@ -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 diff --git a/pkgs/sdf2/sdf2.fix b/pkgs/sdf2/sdf2.fix new file mode 100644 index 000000000000..7f0736d016a9 --- /dev/null +++ b/pkgs/sdf2/sdf2.fix @@ -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")) + ] +) diff --git a/pkgs/strategoxt/strategoxt-build.sh b/pkgs/strategoxt/strategoxt-build.sh new file mode 100755 index 000000000000..59bed2f01eac --- /dev/null +++ b/pkgs/strategoxt/strategoxt-build.sh @@ -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 diff --git a/pkgs/strategoxt/strategoxt.fix b/pkgs/strategoxt/strategoxt.fix new file mode 100644 index 000000000000..0161ff9dcdda --- /dev/null +++ b/pkgs/strategoxt/strategoxt.fix @@ -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")) + ] +) diff --git a/pkgs/system/system.fix b/pkgs/system/system.fix index 135617322a7d..3e76a4507d04 100644 --- a/pkgs/system/system.fix +++ b/pkgs/system/system.fix @@ -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")) ] )