* Added autoconf/automake.
svn path=/nixpkgs/trunk/; revision=540
This commit is contained in:
parent
ef2f51e930
commit
58c20ef428
10
pkgs/development/tools/misc/autoconf/builder.sh
Executable file
10
pkgs/development/tools/misc/autoconf/builder.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#! /bin/sh
|
||||
|
||||
buildinputs="$m4 $perl"
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
tar xvfj $src || exit 1
|
||||
cd autoconf-* || exit 1
|
||||
./configure --prefix=$out || exit 1
|
||||
make || exit 1
|
||||
make install || exit 1
|
13
pkgs/development/tools/misc/autoconf/default.nix
Normal file
13
pkgs/development/tools/misc/autoconf/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 = ftp://ftp.nluug.nl/pub/gnu/autoconf/autoconf-2.58.tar.bz2;
|
||||
md5 = "db3fa3069c6554b3505799c7e1022e2b";
|
||||
};
|
||||
stdenv = stdenv;
|
||||
m4 = m4;
|
||||
perl = perl;
|
||||
}
|
10
pkgs/development/tools/misc/automake/builder.sh
Executable file
10
pkgs/development/tools/misc/automake/builder.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#! /bin/sh
|
||||
|
||||
buildinputs="$perl $autoconf"
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
tar xvfj $src || exit 1
|
||||
cd automake-* || exit 1
|
||||
./configure --prefix=$out || exit 1
|
||||
make || exit 1
|
||||
make install || exit 1
|
13
pkgs/development/tools/misc/automake/default.nix
Normal file
13
pkgs/development/tools/misc/automake/default.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{stdenv, fetchurl, perl, autoconf}:
|
||||
derivation {
|
||||
name = "automake-1.7.9";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.nluug.nl/pub/gnu/automake/automake-1.7.9.tar.bz2;
|
||||
md5 = "571fd0b0598eb2a27dcf68adcfddfacb";
|
||||
};
|
||||
stdenv = stdenv;
|
||||
perl = perl;
|
||||
autoconf = autoconf;
|
||||
}
|
Loading…
Reference in New Issue
Block a user