diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2004-02-13 14:42:28 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2004-02-13 14:42:28 +0000 |
commit | d6a58594d2ed549d24c6387ee2d9439f396257c1 (patch) | |
tree | 6f97c681cabf085f6c28d29b17f831cbb9cbc194 /pkgs/tools/text | |
parent | 191a465665ae1bbed18aed0431a58ad53876d3e2 (diff) | |
parent | e6db9b1caa9acc6ebd1a1e219ec084f2209ad68f (diff) |
* User-Mode Linux and GNU Patch.
svn path=/nixpkgs/trunk/; revision=779
Diffstat (limited to 'pkgs/tools/text')
-rwxr-xr-x | pkgs/tools/text/gnupatch/builder.sh | 9 | ||||
-rw-r--r-- | pkgs/tools/text/gnupatch/default.nix | 10 |
2 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/tools/text/gnupatch/builder.sh b/pkgs/tools/text/gnupatch/builder.sh new file mode 100755 index 0000000000000..0b7210beff44c --- /dev/null +++ b/pkgs/tools/text/gnupatch/builder.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +. $stdenv/setup || exit 1 + +tar xvfz $src || exit 1 +cd patch-* || exit 1 +./configure --prefix=$out || exit 1 +make || exit 1 +make install || exit 1 diff --git a/pkgs/tools/text/gnupatch/default.nix b/pkgs/tools/text/gnupatch/default.nix new file mode 100644 index 0000000000000..ddc24e55aee1f --- /dev/null +++ b/pkgs/tools/text/gnupatch/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl}: derivation { + name = "gnupatch-2.5.4"; + system = stdenv.system; + builder = ./builder.sh; + src = fetchurl { + url = ftp://ftp.nluug.nl/pub/gnu/patch/patch-2.5.4.tar.gz; + md5 = "ee5ae84d115f051d87fcaaef3b4ae782"; + }; + stdenv = stdenv; +} |