* Added bzip2.

Note that I added bzip2 to stdenv, but not unzip.  This raises an interesting 
  point: what packages should be in stdenv?

svn path=/nixpkgs/trunk/; revision=320
This commit is contained in:
Eelco Dolstra 2003-08-18 20:58:51 +00:00
parent 5c09abea7d
commit af9c2a534d
3 changed files with 22 additions and 0 deletions

8
pkgs/bzip2/bzip2-build.sh Executable file
View File

@ -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

13
pkgs/bzip2/bzip2.fix Normal file
View File

@ -0,0 +1,13 @@
Package(
[ ("name", "bzip2-1.0.2")
, ("build", Relative("bzip2/bzip2-build.sh"))
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
[ ("url", "ftp://sources.redhat.com/pub/bzip2/v102/bzip2-1.0.2.tar.gz")
, ("md5", "ee76864958d568677f03db8afad92beb")
]))
, ("stdenv", IncludeFix("stdenv-linux/stdenv-nativetools.fix"))
]
)

View File

@ -18,6 +18,7 @@ Function(["nativeTools"],
, IncludeFix("gnutar/gnutar.fix")
, IncludeFix("diffutils/diffutils.fix")
, IncludeFix("gzip/gzip.fix")
, IncludeFix("bzip2/bzip2.fix")
, IncludeFix("gnumake/gnumake.fix")
, IncludeFix("binutils/binutils.fix")
]))