* 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:
parent
5c09abea7d
commit
af9c2a534d
3 changed files with 22 additions and 0 deletions
8
pkgs/bzip2/bzip2-build.sh
Executable file
8
pkgs/bzip2/bzip2-build.sh
Executable 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
13
pkgs/bzip2/bzip2.fix
Normal 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"))
|
||||
]
|
||||
)
|
|
@ -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")
|
||||
]))
|
||||
|
|
Loading…
Reference in a new issue