diff --git a/pkgs/development/tools/misc/autoconf/builder.sh b/pkgs/development/tools/misc/autoconf/builder.sh new file mode 100755 index 000000000000..e421c69a6c27 --- /dev/null +++ b/pkgs/development/tools/misc/autoconf/builder.sh @@ -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 diff --git a/pkgs/development/tools/misc/autoconf/default.nix b/pkgs/development/tools/misc/autoconf/default.nix new file mode 100644 index 000000000000..f7ea5d44c576 --- /dev/null +++ b/pkgs/development/tools/misc/autoconf/default.nix @@ -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; +} diff --git a/pkgs/development/tools/misc/automake/builder.sh b/pkgs/development/tools/misc/automake/builder.sh new file mode 100755 index 000000000000..b356da423651 --- /dev/null +++ b/pkgs/development/tools/misc/automake/builder.sh @@ -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 diff --git a/pkgs/development/tools/misc/automake/default.nix b/pkgs/development/tools/misc/automake/default.nix new file mode 100644 index 000000000000..219ed9c89e20 --- /dev/null +++ b/pkgs/development/tools/misc/automake/default.nix @@ -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; +}