diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2003-11-14 09:59:13 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2003-11-14 09:59:13 +0000 |
commit | 48c3faca5194fab0d6f19ad33a9756763dddefdd (patch) | |
tree | 24e08e006efef44f671d275a5c896e22d83abb28 /pkgs/tools/compression | |
parent | 6b2bb2247432e5749710576a167a1632c2ec0a61 (diff) |
* Renamed pkgs-ng to pkgs.
svn path=/nixpkgs/trunk/; revision=502
Diffstat (limited to 'pkgs/tools/compression')
-rwxr-xr-x | pkgs/tools/compression/bzip2/builder.sh | 8 | ||||
-rw-r--r-- | pkgs/tools/compression/bzip2/default.fix | 10 | ||||
-rwxr-xr-x | pkgs/tools/compression/gzip/builder.sh | 9 | ||||
-rw-r--r-- | pkgs/tools/compression/gzip/default.fix | 10 |
4 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/tools/compression/bzip2/builder.sh b/pkgs/tools/compression/bzip2/builder.sh new file mode 100755 index 0000000000000..2fa113aa17a6e --- /dev/null +++ b/pkgs/tools/compression/bzip2/builder.sh @@ -0,0 +1,8 @@ +#! /bin/sh + +. $stdenv/setup || exit 1 + +tar xvfz $src || exit 1 +cd bzip2-* || exit 1 +make || exit 1 +make install PREFIX=$out || exit 1 diff --git a/pkgs/tools/compression/bzip2/default.fix b/pkgs/tools/compression/bzip2/default.fix new file mode 100644 index 0000000000000..1684edd1659fd --- /dev/null +++ b/pkgs/tools/compression/bzip2/default.fix @@ -0,0 +1,10 @@ +{stdenv, fetchurl}: derivation { + name = "bzip2-1.0.2"; + system = stdenv.system; + builder = ./builder.sh; + src = fetchurl { + url = ftp://sources.redhat.com/pub/bzip2/v102/bzip2-1.0.2.tar.gz; + md5 = "ee76864958d568677f03db8afad92beb"; + }; + stdenv = stdenv; +} diff --git a/pkgs/tools/compression/gzip/builder.sh b/pkgs/tools/compression/gzip/builder.sh new file mode 100755 index 0000000000000..0254e252958ae --- /dev/null +++ b/pkgs/tools/compression/gzip/builder.sh @@ -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 diff --git a/pkgs/tools/compression/gzip/default.fix b/pkgs/tools/compression/gzip/default.fix new file mode 100644 index 0000000000000..a5902361fe7fe --- /dev/null +++ b/pkgs/tools/compression/gzip/default.fix @@ -0,0 +1,10 @@ +{stdenv, fetchurl}: derivation { + name = "gzip-1.3.3"; + system = stdenv.system; + builder = ./builder.sh; + src = fetchurl { + url = http://www.gzip.org/gzip-1.3.3.tar.gz; + md5 = "52eaf713673507d21f7abefee98ba662"; + }; + stdenv = stdenv; +} |