2006-02-16 17:25:03 +01:00
|
|
|
|
2007-06-20 15:01:59 +02:00
|
|
|
pkgs:
|
|
|
|
pkgs.stdenv.mkDerivation {
|
2007-06-26 14:13:17 +02:00
|
|
|
name = "iproute-20070313";
|
2007-06-20 15:01:59 +02:00
|
|
|
|
|
|
|
src = pkgs.fetchurl {
|
|
|
|
url = http://ftp.debian.org/debian/pool/main/i/iproute/iproute_20070313.orig.tar.gz;
|
|
|
|
sha256 = "1j7cmlr7p9xcg9ys8fhjnynwrp475rbkr2j2c5jqm1xzczw60f9v";
|
2006-02-16 17:25:03 +01:00
|
|
|
};
|
|
|
|
|
2007-06-20 15:01:59 +02:00
|
|
|
preConfigure = "for script in $(find . -type f); do sed -e 's@#! /bin/bash@#! /bin/sh@' -i $script; done;";
|
|
|
|
|
|
|
|
makeFlags = " SBINDIR=\\$(out)/sbin CONFDIR=\\$(out)/etc DOCDIR=\\$(out)/doc MANDIR=\\$(out)/man ";
|
|
|
|
|
|
|
|
buildInputs = [pkgs.bison pkgs.flex pkgs.db4];
|
2006-02-16 17:25:03 +01:00
|
|
|
}
|