* Added gzip.
svn path=/nixpkgs/trunk/; revision=309
This commit is contained in:
parent
f6e0983d44
commit
4a104ba060
9
pkgs/gzip/gzip-build.sh
Executable file
9
pkgs/gzip/gzip-build.sh
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
. $stdenv/setup || exit 1
|
||||||
|
|
||||||
|
tar xvfz $src || exit 1
|
||||||
|
cd gzip-* || exit 1
|
||||||
|
./configure --prefix=$out || exit 1
|
||||||
|
make || exit 1
|
||||||
|
make install || exit 1
|
13
pkgs/gzip/gzip.fix
Normal file
13
pkgs/gzip/gzip.fix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
Package(
|
||||||
|
[ ("name", "gzip-1.3.3")
|
||||||
|
|
||||||
|
, ("build", Relative("gzip/gzip-build.sh"))
|
||||||
|
|
||||||
|
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
||||||
|
[ ("url", "http://www.gzip.org/gzip-1.3.3.tar.gz")
|
||||||
|
, ("md5", "52eaf713673507d21f7abefee98ba662")
|
||||||
|
]))
|
||||||
|
|
||||||
|
, ("stdenv", IncludeFix("stdenv-linux/stdenv-nativetools.fix"))
|
||||||
|
]
|
||||||
|
)
|
|
@ -14,6 +14,7 @@ Function(["nativeTools"],
|
||||||
[],
|
[],
|
||||||
[ IncludeFix("coreutils/coreutils.fix")
|
[ IncludeFix("coreutils/coreutils.fix")
|
||||||
, IncludeFix("gnutar/gnutar.fix")
|
, IncludeFix("gnutar/gnutar.fix")
|
||||||
|
, IncludeFix("gzip/gzip.fix")
|
||||||
]))
|
]))
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue