* Added GNU awk.

svn path=/nixpkgs/trunk/; revision=322
This commit is contained in:
Eelco Dolstra 2003-08-19 09:40:09 +00:00
parent af9c2a534d
commit 6da1ac69b5
3 changed files with 23 additions and 0 deletions

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

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

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

@ -0,0 +1,13 @@
Package(
[ ("name", "gawk-3.1.3")
, ("build", Relative("gawk/gawk-build.sh"))
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/gawk/gawk-3.1.3.tar.bz2")
, ("md5", "a116eec17e7ba085febb74c7758823bd")
]))
, ("stdenv", IncludeFix("stdenv-linux/stdenv-nativetools.fix"))
]
)

View File

@ -15,6 +15,7 @@ Function(["nativeTools"],
[ IncludeFix("coreutils/coreutils.fix")
, IncludeFix("gnused/gnused.fix")
, IncludeFix("gnugrep/gnugrep.fix")
, IncludeFix("gawk/gawk.fix")
, IncludeFix("gnutar/gnutar.fix")
, IncludeFix("diffutils/diffutils.fix")
, IncludeFix("gzip/gzip.fix")