* Add a setup hook ‘autoreconfHook’ to simplify packages that need to

run autoreconf:

    buildInputs = [ autoreconfHook ];

  is essentially equivalent to

    buildInputs = [ autoconf automake libtool ];
    preConfigure = "autoreconf -i";

svn path=/nixpkgs/branches/x-updates/; revision=34181
This commit is contained in:
Eelco Dolstra
2012-05-19 02:52:36 +00:00
parent 76c0be09f8
commit 41840af689
6 changed files with 23 additions and 14 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, libusb1, zlib, autoconf, automake, libtool }:
{ stdenv, fetchurl, pkgconfig, libusb1, zlib, autoreconfHook }:
let
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
sha256 = "05sxkm7b7lj8p8kr8kw68m49h66351s803z42233b8lssmc3wlra";
};
buildInputs = [ pkgconfig libusb1 autoconf automake libtool zlib ];
buildInputs = [ pkgconfig libusb1 autoreconfHook ];
preConfigure = "autoreconf -i";