separate strategoxt packages

svn path=/nixpkgs/trunk/; revision=286
This commit is contained in:
Eelco Visser 2003-08-14 12:26:13 +00:00
parent 41e1c2e039
commit 6c8937cbca
10 changed files with 145 additions and 0 deletions

20
pkgs/autoxt/autoxt-build.sh Executable file
View File

@ -0,0 +1,20 @@
#! /bin/sh
export NIX_LDFLAGS=-Wl,-s
. $stdenv/setup || exit 1
echo "out: $out"
echo "pwd: `pwd`"
echo "src: $src"
ls $src
cp -r $src autoxt
ls
cd autoxt || exit 1
./bootstrap || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1

16
pkgs/autoxt/autoxt.fix Normal file
View File

@ -0,0 +1,16 @@
Function(["rev"],
Package(
[ ("name", "autoxt")
, ("build", Relative("autoxt/autoxt-build.sh"))
, ("src", App(IncludeFix("fetchsvn/fetchsvn.fix"),
[ ("url", "http://losser.st-lab.cs.uu.nl:12080/repos/StrategoXT/trunk/StrategoXT/autoxt")
, ("name", "autoxt")
, ("rev", Var("rev"))
]))
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
]
)
)

24
pkgs/srts/srts-build.sh Executable file
View File

@ -0,0 +1,24 @@
#! /bin/sh
set -e
export NIX_LDFLAGS=-Wl,-s
. $stdenv/setup
export PATH=$autoxt/bin:$PATH
echo "out: $out"
echo "pwd: `pwd`"
echo "src: $src"
ls $src
cp -r $src srts
ls
cd srts
./bootstrap
./configure --prefix=$out --with-aterm=$aterm
make
make install

20
pkgs/srts/srts.fix Normal file
View File

@ -0,0 +1,20 @@
Function(["rev"],
Package(
[ ("name", "srts")
, ("build", Relative("srts/srts-build.sh"))
, ("src", App(IncludeFix("fetchsvn/fetchsvn.fix"),
[ ("url", "http://losser.st-lab.cs.uu.nl:12080/repos/StrategoXT/trunk/StrategoXT/srts")
, ("name", "srts")
, ("rev", Var("rev"))
])
)
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
, ("aterm", IncludeFix("aterm/aterm.fix"))
, ("autoxt", App(IncludeFix("autoxt/autoxt.fix"),[("rev",Var("rev"))]))
]
)
)

View File

@ -0,0 +1,5 @@
#! /bin/sh
mkdir $out
exit 0

View File

@ -0,0 +1,4 @@
App(
IncludeFix("strategoxt/strategoxt.fix")
, [("rev", "3385")]
)

View File

@ -0,0 +1,16 @@
Function(["rev"],
Package(
[ ("name", "strategoxt")
, ("build", Relative("system/populate-linkdirs.pl"))
, ("actAterm", IncludeFix("aterm/aterm.fix"))
, ("actAutoxt", App(IncludeFix("autoxt/autoxt.fix"), [("rev",Var("rev"))]))
, ("actSrts", App(IncludeFix("srts/srts.fix"), [("rev", Var("rev"))]))
, ("actXtc", App(IncludeFix("xtc/xtc.fix"),[("rev", Var("rev"))]))
]
)
)

16
pkgs/xtc/xtc-build.sh Executable file
View File

@ -0,0 +1,16 @@
#! /bin/sh
set -e
export NIX_LDFLAGS=-Wl,-s
. $stdenv/setup
export PATH=$autoxt/bin:$PATH
cp -r $src $name
cd $name
./bootstrap
./configure --prefix=$out --with-aterm=$aterm --with-srts=$srts
make
make install

4
pkgs/xtc/xtc-head.fix Normal file
View File

@ -0,0 +1,4 @@
App(
IncludeFix("xtc/xtc.fix")
, [("rev", "3385")]
)

20
pkgs/xtc/xtc.fix Executable file
View File

@ -0,0 +1,20 @@
Function(["rev"],
Package(
[ ("name", "xtc")
, ("build", Relative("xtc/xtc-build.sh"))
, ("src", App(IncludeFix("fetchsvn/fetchsvn.fix"),
[ ("url", "http://losser.st-lab.cs.uu.nl:12080/repos/StrategoXT/trunk/StrategoXT/xtc")
, ("name", "xtc")
, ("rev", Var("rev"))
])
)
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
, ("aterm", IncludeFix("aterm/aterm.fix"))
, ("autoxt", App(IncludeFix("autoxt/autoxt.fix"),[("rev",Var("rev"))]))
, ("srts", App(IncludeFix("srts/srts.fix"),[("rev",Var("rev"))]))
]
)
)