forked from mirrors/nixpkgs
* Added GNU awk.
svn path=/nixpkgs/trunk/; revision=322
This commit is contained in:
parent
af9c2a534d
commit
6da1ac69b5
9
pkgs/gawk/gawk-build.sh
Executable file
9
pkgs/gawk/gawk-build.sh
Executable 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
13
pkgs/gawk/gawk.fix
Normal 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"))
|
||||
]
|
||||
)
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue