* Renamed pkgs-ng to pkgs.
svn path=/nixpkgs/trunk/; revision=502
This commit is contained in:
9
pkgs/tools/text/diffutils/builder.sh
Executable file
9
pkgs/tools/text/diffutils/builder.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
|
||||
10
pkgs/tools/text/diffutils/default.fix
Normal file
10
pkgs/tools/text/diffutils/default.fix
Normal file
@@ -0,0 +1,10 @@
|
||||
{stdenv, fetchurl}: derivation {
|
||||
name = "diffutils-2.8.1";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.nluug.nl/pub/gnu/diffutils/diffutils-2.8.1.tar.gz;
|
||||
md5 = "71f9c5ae19b60608f6c7f162da86a428";
|
||||
};
|
||||
stdenv = stdenv;
|
||||
}
|
||||
Reference in New Issue
Block a user