Working on improved Ant package in Nix: do configuration in wrapper scripts. This is the 'core' Ant.

svn path=/nixpkgs/trunk/; revision=1148
This commit is contained in:
Martin Bravenboer
2004-07-10 13:59:21 +00:00
parent d91c216e2c
commit feeff4dfb1
7 changed files with 71 additions and 41 deletions

View File

@@ -1,8 +1,2 @@
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
cd jikes-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
. $stdenv/setup
genericBuild

View File

@@ -1,8 +1,10 @@
{stdenv, fetchurl}: stdenv.mkDerivation {
name = "jikes-1.18";
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "jikes-1.21";
builder = ./builder.sh;
src = fetchurl {
url = ftp://www-126.ibm.com/pub/jikes/1.18/jikes-1.18.tar.bz2;
md5 = "74bbcfd31aa2d7df4b86c5fe2db315cc";
url = ftp://www-126.ibm.com/pub/jikes/1.21/jikes-1.21.tar.bz2;
md5 = "4e45eeab4c75918174e16ea2b695d812";
};
}