mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
* Added the GNU diffutils.
svn path=/nixpkgs/trunk/; revision=312
This commit is contained in:
parent
86ac7b60b0
commit
5bfb7b04d4
9
pkgs/diffutils/diffutils-build.sh
Executable file
9
pkgs/diffutils/diffutils-build.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#! /bin/sh
|
||||
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
tar xvfz $src || exit 1
|
||||
cd diffutils-* || exit 1
|
||||
./configure --prefix=$out || exit 1
|
||||
make || exit 1
|
||||
make install || exit 1
|
13
pkgs/diffutils/diffutils.fix
Normal file
13
pkgs/diffutils/diffutils.fix
Normal file
@ -0,0 +1,13 @@
|
||||
Package(
|
||||
[ ("name", "diffutils-2.8.1")
|
||||
|
||||
, ("build", Relative("diffutils/diffutils-build.sh"))
|
||||
|
||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
||||
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/diffutils/diffutils-2.8.1.tar.gz")
|
||||
, ("md5", "71f9c5ae19b60608f6c7f162da86a428")
|
||||
]))
|
||||
|
||||
, ("stdenv", IncludeFix("stdenv-linux/stdenv-nativetools.fix"))
|
||||
]
|
||||
)
|
@ -16,6 +16,7 @@ Function(["nativeTools"],
|
||||
, IncludeFix("gnused/gnused.fix")
|
||||
, IncludeFix("gnugrep/gnugrep.fix")
|
||||
, IncludeFix("gnutar/gnutar.fix")
|
||||
, IncludeFix("diffutils/diffutils.fix")
|
||||
, IncludeFix("gzip/gzip.fix")
|
||||
]))
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user