diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2003-08-18 17:04:07 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2003-08-18 17:04:07 +0000 |
commit | 5bfb7b04d44e41c2ade1762b77a5f0755f8a081e (patch) | |
tree | c6ae800aebfedd05fcd888b6b12dfbed2bd31cf0 /pkgs/diffutils | |
parent | 86ac7b60b01257632fe0f8bd4ae73a17f838b947 (diff) |
* Added the GNU diffutils.
svn path=/nixpkgs/trunk/; revision=312
Diffstat (limited to 'pkgs/diffutils')
-rwxr-xr-x | pkgs/diffutils/diffutils-build.sh | 9 | ||||
-rw-r--r-- | pkgs/diffutils/diffutils.fix | 13 |
2 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/diffutils/diffutils-build.sh b/pkgs/diffutils/diffutils-build.sh new file mode 100755 index 0000000000000..408b75eb8037a --- /dev/null +++ b/pkgs/diffutils/diffutils-build.sh @@ -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 diff --git a/pkgs/diffutils/diffutils.fix b/pkgs/diffutils/diffutils.fix new file mode 100644 index 0000000000000..04615b4a703d3 --- /dev/null +++ b/pkgs/diffutils/diffutils.fix @@ -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")) + ] +) |