diff options
author | Eelco Dolstra | 2003-11-14 09:59:13 +0000 |
---|---|---|
committer | Eelco Dolstra | 2003-11-14 09:59:13 +0000 |
commit | 48c3faca5194fab0d6f19ad33a9756763dddefdd (patch) | |
tree | 24e08e006efef44f671d275a5c896e22d83abb28 /pkgs/tools/compression/bzip2 | |
parent | 6b2bb2247432e5749710576a167a1632c2ec0a61 (diff) |
* Renamed pkgs-ng to pkgs.
svn path=/nixpkgs/trunk/; revision=502
Diffstat (limited to 'pkgs/tools/compression/bzip2')
-rwxr-xr-x | pkgs/tools/compression/bzip2/builder.sh | 8 | ||||
-rw-r--r-- | pkgs/tools/compression/bzip2/default.fix | 10 |
2 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/tools/compression/bzip2/builder.sh b/pkgs/tools/compression/bzip2/builder.sh new file mode 100755 index 000000000000..2fa113aa17a6 --- /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 000000000000..1684edd1659f --- /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; +} |