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:
@@ -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
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
|
||||
@@ -9,4 +9,6 @@
|
||||
stdenv = stdenv;
|
||||
aterm = aterm;
|
||||
sdf = sdf;
|
||||
tarfile = "true";
|
||||
dir = "strategoxt";
|
||||
}
|
||||
|
||||
14
pkgs/development/compilers/strategoxt/svnbuilder.sh
Executable file
14
pkgs/development/compilers/strategoxt/svnbuilder.sh
Executable 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
|
||||
19
pkgs/development/compilers/strategoxt/trunk.nix
Normal file
19
pkgs/development/compilers/strategoxt/trunk.nix
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user