added packages: which, libtool

aggregation in all-packages-generic: autotools
building strategoxt from svn

not complete yet since autconf cannot find libtool


svn path=/nixpkgs/trunk/; revision=596
This commit is contained in:
Eelco Visser
2003-12-23 20:51:58 +00:00
parent 5e7f5b2ada
commit b4ce40af2b
12 changed files with 134 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ buildinputs="$aterm $sdf"
. $stdenv/setup || exit 1
tar zxf $src || exit 1
cd strategoxt-* || exit 1
cd $dir* || exit 1
./configure --prefix=$out --with-aterm=$aterm --with-sdf=$sdf || exit 1
make || exit 1
make install || exit 1

View File

@@ -3,10 +3,12 @@
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://losser.st-lab.cs.uu.nl/~mbravenb/dailydist/strategoxt/src/strategoxt-0.9.4-4626.tar.gz;
url = http://losser.labs.cs.uu.nl/~mbravenb/dailydist/strategoxt/src/strategoxt-0.9.4-4626.tar.gz;
md5 = "f33ae9fdb9d8628ae01fa0f26bfa0429"
};
stdenv = stdenv;
aterm = aterm;
sdf = sdf;
tarfile = "true";
dir = "strategoxt";
}

View File

@@ -9,4 +9,6 @@
stdenv = stdenv;
aterm = aterm;
sdf = sdf;
tarfile = "true";
dir = "strategoxt";
}

View File

@@ -0,0 +1,14 @@
#! /bin/sh
buildinputs="$aterm $sdf $make $automake $autoconf $libtool $which"
. $stdenv/setup || exit 1
echo "pwd = `pwd`"
echo "PATH = $PATH"
cp -r $src strategoxt || exit 1
chmod -R +w strategoxt
cd strategoxt || exit 1
./bootstrap || exit 1
./configure --prefix=$out --with-aterm=$aterm --with-sdf=$sdf || exit 1
make install || exit 1

View File

@@ -0,0 +1,19 @@
{stdenv, fetchsvn, autotools, which, aterm, sdf}: derivation {
name = "strategoxt-0.9.4-4785";
system = stdenv.system;
builder = ./svnbuilder.sh;
src = fetchsvn {
url = https://svn.cs.uu.nl:12443/repos/StrategoXT/trunk/StrategoXT;
rev = "4785";
};
stdenv = stdenv;
make = autotools.make;
automake = autotools.automake;
autoconf = autotools.autoconf;
libtool = autotools.libtool;
which = which;
aterm = aterm;
sdf = sdf;
}