* Added GNU grep, and the Perl Compatible Regular Expressions library used by
grep. svn path=/nixpkgs/trunk/; revision=311
This commit is contained in:
parent
aab301d701
commit
86ac7b60b0
5 changed files with 47 additions and 0 deletions
10
pkgs/gnugrep/gnugrep-build.sh
Executable file
10
pkgs/gnugrep/gnugrep-build.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#! /bin/sh
|
||||
|
||||
envpkgs="$pcre"
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
tar xvfj $src || exit 1
|
||||
cd grep-* || exit 1
|
||||
./configure --prefix=$out || exit 1
|
||||
make || exit 1
|
||||
make install || exit 1
|
14
pkgs/gnugrep/gnugrep.fix
Normal file
14
pkgs/gnugrep/gnugrep.fix
Normal file
|
@ -0,0 +1,14 @@
|
|||
Package(
|
||||
[ ("name", "gnugrep-2.5.1")
|
||||
|
||||
, ("build", Relative("gnugrep/gnugrep-build.sh"))
|
||||
|
||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
||||
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/grep/grep-2.5.1.tar.bz2")
|
||||
, ("md5", "ddd99e2d5d4f4611357e31e97f080cf2")
|
||||
]))
|
||||
|
||||
, ("stdenv", IncludeFix("stdenv-linux/stdenv-nativetools.fix"))
|
||||
, ("pcre", IncludeFix("pcre/pcre.fix"))
|
||||
]
|
||||
)
|
9
pkgs/pcre/pcre-build.sh
Executable file
9
pkgs/pcre/pcre-build.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#! /bin/sh
|
||||
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
tar xvfj $src || exit 1
|
||||
cd pcre-* || exit 1
|
||||
./configure --prefix=$out || exit 1
|
||||
make || exit 1
|
||||
make install || exit 1
|
13
pkgs/pcre/pcre.fix
Normal file
13
pkgs/pcre/pcre.fix
Normal file
|
@ -0,0 +1,13 @@
|
|||
Package(
|
||||
[ ("name", "pcre-4.3")
|
||||
|
||||
, ("build", Relative("pcre/pcre-build.sh"))
|
||||
|
||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
||||
[ ("url", "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-4.3.tar.bz2")
|
||||
, ("md5", "7bc7d5b590a41e6f9ede30f272002a02")
|
||||
]))
|
||||
|
||||
, ("stdenv", IncludeFix("stdenv-linux/stdenv-nativetools.fix"))
|
||||
]
|
||||
)
|
|
@ -14,6 +14,7 @@ Function(["nativeTools"],
|
|||
[],
|
||||
[ IncludeFix("coreutils/coreutils.fix")
|
||||
, IncludeFix("gnused/gnused.fix")
|
||||
, IncludeFix("gnugrep/gnugrep.fix")
|
||||
, IncludeFix("gnutar/gnutar.fix")
|
||||
, IncludeFix("gzip/gzip.fix")
|
||||
]))
|
||||
|
|
Loading…
Reference in a new issue