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:
parent
5e7f5b2ada
commit
b4ce40af2b
@ -4,7 +4,7 @@ buildinputs="$aterm $sdf"
|
|||||||
. $stdenv/setup || exit 1
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
tar zxf $src || 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
|
./configure --prefix=$out --with-aterm=$aterm --with-sdf=$sdf || exit 1
|
||||||
make || exit 1
|
make || exit 1
|
||||||
make install || exit 1
|
make install || exit 1
|
||||||
|
@ -3,10 +3,12 @@
|
|||||||
system = stdenv.system;
|
system = stdenv.system;
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
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"
|
md5 = "f33ae9fdb9d8628ae01fa0f26bfa0429"
|
||||||
};
|
};
|
||||||
stdenv = stdenv;
|
stdenv = stdenv;
|
||||||
aterm = aterm;
|
aterm = aterm;
|
||||||
sdf = sdf;
|
sdf = sdf;
|
||||||
|
tarfile = "true";
|
||||||
|
dir = "strategoxt";
|
||||||
}
|
}
|
||||||
|
@ -9,4 +9,6 @@
|
|||||||
stdenv = stdenv;
|
stdenv = stdenv;
|
||||||
aterm = aterm;
|
aterm = aterm;
|
||||||
sdf = sdf;
|
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;
|
||||||
|
}
|
10
pkgs/development/tools/misc/libtool/builder.sh
Executable file
10
pkgs/development/tools/misc/libtool/builder.sh
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
buildinputs="$m4 $perl"
|
||||||
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
|
tar xvfz $src || exit 1
|
||||||
|
cd libtool-* || exit 1
|
||||||
|
./configure --prefix=$out || exit 1
|
||||||
|
make || exit 1
|
||||||
|
make install || exit 1
|
13
pkgs/development/tools/misc/libtool/default.nix
Normal file
13
pkgs/development/tools/misc/libtool/default.nix
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{stdenv, fetchurl, m4, perl}:
|
||||||
|
derivation {
|
||||||
|
name = "autoconf-2.58";
|
||||||
|
system = stdenv.system;
|
||||||
|
builder = ./builder.sh;
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://ftp.gnu.org/gnu/libtool/libtool-1.5.tar.gz;
|
||||||
|
md5 = "0e1844f25e2ad74c3715b5776d017545";
|
||||||
|
};
|
||||||
|
stdenv = stdenv;
|
||||||
|
m4 = m4;
|
||||||
|
perl = perl;
|
||||||
|
}
|
13
pkgs/development/tools/misc/libtool/default.nix~
Normal file
13
pkgs/development/tools/misc/libtool/default.nix~
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{stdenv, fetchurl, m4, perl}:
|
||||||
|
derivation {
|
||||||
|
name = "autoconf-2.58";
|
||||||
|
system = stdenv.system;
|
||||||
|
builder = ./builder.sh;
|
||||||
|
src = fetchurl {
|
||||||
|
url = ;
|
||||||
|
md5 = "";
|
||||||
|
};
|
||||||
|
stdenv = stdenv;
|
||||||
|
m4 = m4;
|
||||||
|
perl = perl;
|
||||||
|
}
|
@ -88,6 +88,11 @@
|
|||||||
stdenv = stdenv;
|
stdenv = stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
which = (import ../tools/system/which) {
|
||||||
|
fetchurl = fetchurl;
|
||||||
|
stdenv = stdenv;
|
||||||
|
};
|
||||||
|
|
||||||
wget = (import ../tools/networking/wget) {
|
wget = (import ../tools/networking/wget) {
|
||||||
fetchurl = fetchurl;
|
fetchurl = fetchurl;
|
||||||
stdenv = stdenv;
|
stdenv = stdenv;
|
||||||
@ -142,6 +147,20 @@
|
|||||||
autoconf = autoconf;
|
autoconf = autoconf;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
libtool = (import ../development/tools/misc/libtool) {
|
||||||
|
fetchurl = fetchurl;
|
||||||
|
stdenv = stdenv;
|
||||||
|
m4 = gnum4;
|
||||||
|
perl = perl;
|
||||||
|
};
|
||||||
|
|
||||||
|
autotools = {
|
||||||
|
automake = automake;
|
||||||
|
autoconf = autoconf;
|
||||||
|
make = gnumake;
|
||||||
|
libtool = libtool;
|
||||||
|
};
|
||||||
|
|
||||||
pkgconfig = (import ../development/tools/misc/pkgconfig) {
|
pkgconfig = (import ../development/tools/misc/pkgconfig) {
|
||||||
fetchurl = fetchurl;
|
fetchurl = fetchurl;
|
||||||
stdenv = stdenv;
|
stdenv = stdenv;
|
||||||
@ -219,6 +238,15 @@
|
|||||||
sdf = sdf2;
|
sdf = sdf2;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
strategoxtsvn = (import ../development/compilers/strategoxt/trunk.nix) {
|
||||||
|
fetchsvn = fetchsvn;
|
||||||
|
stdenv = stdenv;
|
||||||
|
autotools = autotools;
|
||||||
|
which = which;
|
||||||
|
aterm = aterm;
|
||||||
|
sdf = sdf2;
|
||||||
|
};
|
||||||
|
|
||||||
strategoxt093 = (import ../development/compilers/strategoxt/strategoxt-0.9.3.nix) {
|
strategoxt093 = (import ../development/compilers/strategoxt/strategoxt-0.9.3.nix) {
|
||||||
fetchurl = fetchurl;
|
fetchurl = fetchurl;
|
||||||
stdenv = stdenv;
|
stdenv = stdenv;
|
||||||
|
9
pkgs/tools/system/which/builder.sh
Executable file
9
pkgs/tools/system/which/builder.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
|
tar xvfz $src || exit 1
|
||||||
|
cd which-* || exit 1
|
||||||
|
./configure --prefix=$out || exit 1
|
||||||
|
make || exit 1
|
||||||
|
make install || exit 1
|
9
pkgs/tools/system/which/builder.sh~
Executable file
9
pkgs/tools/system/which/builder.sh~
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
|
tar xvfz $src || exit 1
|
||||||
|
cd sed-* || exit 1
|
||||||
|
./configure --prefix=$out || exit 1
|
||||||
|
make || exit 1
|
||||||
|
make install || exit 1
|
13
pkgs/tools/system/which/default.nix
Normal file
13
pkgs/tools/system/which/default.nix
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{stdenv, fetchurl}: derivation {
|
||||||
|
name = "which-2.16";
|
||||||
|
system = stdenv.system;
|
||||||
|
builder = ./builder.sh;
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://ftp.gnu.org/gnu/which/which-2.16.tar.gz;
|
||||||
|
md5 = "830b83af48347a9a3520f561e47cbc9b";
|
||||||
|
};
|
||||||
|
stdenv = stdenv;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user