* Added GNU sed.

svn path=/nixpkgs/trunk/; revision=310
This commit is contained in:
Eelco Dolstra 2003-08-18 16:44:50 +00:00
parent 4a104ba060
commit aab301d701
3 changed files with 23 additions and 0 deletions

9
pkgs/gnused/gnused-build.sh Executable file
View File

@ -0,0 +1,9 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd sed-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1

13
pkgs/gnused/gnused.fix Normal file
View File

@ -0,0 +1,13 @@
Package(
[ ("name", "gnused-4.0.7")
, ("build", Relative("gnused/gnused-build.sh"))
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/sed/sed-4.0.7.tar.gz")
, ("md5", "005738e7f97bd77d95b6907156c8202a")
]))
, ("stdenv", IncludeFix("stdenv-linux/stdenv-nativetools.fix"))
]
)

View File

@ -13,6 +13,7 @@ Function(["nativeTools"],
, ("tools", If(Var("nativeTools"),
[],
[ IncludeFix("coreutils/coreutils.fix")
, IncludeFix("gnused/gnused.fix")
, IncludeFix("gnutar/gnutar.fix")
, IncludeFix("gzip/gzip.fix")
]))