refactor to use autoreconfHook where possible

Close #12446.
This commit is contained in:
Robin Gloster
2016-01-17 23:04:40 +00:00
committed by Vladimír Čunát
parent 620c147cce
commit 53b389327e
50 changed files with 188 additions and 320 deletions

View File

@@ -1,19 +1,18 @@
{ stdenv, fetchsvn, autoconf, automake, libtool, pkgconfig, libogg }:
{ stdenv, fetchsvn, autoreconfHook, pkgconfig, libogg }:
stdenv.mkDerivation rec {
name = "tremor-svn-${src.rev}";
src = fetchsvn {
url = http://svn.xiph.org/trunk/Tremor;
rev = "17866";
sha256 = "161411cbefa1527da7a8fc087e78d8e21d19143d3a6eb42fb281e5026aad7568";
};
nativeBuildInputs = [ autoconf automake libtool pkgconfig ];
nativeBuildInputs = [ autoreconfHook pkgconfig ];
propagatedBuildInputs = [ libogg ];
preConfigure = ''
autoreconf -vfi
sed -i /XIPH_PATH_OGG/d configure
'';