d5ec705667
and automake. Copying the files in $libtool/share/aclocal to $autoconf/share/aclocal does not work (and causes collisions when installing the tools in the user environment). The solution seems to be to install the three distributions in one single $out directory, i.e., consider them as one package. svn path=/nixpkgs/trunk/; revision=597
28 lines
569 B
Bash
Executable file
28 lines
569 B
Bash
Executable file
#! /bin/sh
|
|
|
|
buildinputs="$m4 $perl $out"
|
|
. $stdenv/setup || exit 1
|
|
|
|
tar xvfj $autoconfsrc || exit 1
|
|
cd autoconf-* || exit 1
|
|
./configure --prefix=$out || exit 1
|
|
make || exit 1
|
|
make install || exit 1
|
|
|
|
buildinputs="$m4 $perl $out"
|
|
. $stdenv/setup || exit 1
|
|
|
|
tar xvfj $automakesrc || exit 1
|
|
cd automake-* || exit 1
|
|
./configure --prefix=$out || exit 1
|
|
make || exit 1
|
|
make install || exit 1
|
|
|
|
buildinputs="$m4 $perl $out"
|
|
. $stdenv/setup || exit 1
|
|
|
|
tar xvfz $libtoolsrc || exit 1
|
|
cd libtool-* || exit 1
|
|
./configure --prefix=$out || exit 1
|
|
make || exit 1
|
|
make install || exit 1 |