* Unify the bzip2 builders.
svn path=/nixpkgs/trunk/; revision=6833
This commit is contained in:
@@ -2,14 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "bzip2-1.0.3";
|
||||
builder =
|
||||
# !!! Merge these builders.
|
||||
if stdenv.isDarwin || stdenv ? isDietLibC then ./builder-static.sh
|
||||
else if stdenv.system == "i686-freebsd" then ./builder-freebsd.sh
|
||||
else if stdenv.system == "i686-cygwin" then ./builder-cygwin.sh
|
||||
else ./builder.sh;
|
||||
builder = ./builder.sh;
|
||||
|
||||
src = fetchurl {
|
||||
url = http://nix.cs.uu.nl/dist/tarballs/bzip2-1.0.3.tar.gz;
|
||||
md5 = "8a716bebecb6e647d2e8a29ea5d8447f";
|
||||
};
|
||||
|
||||
sharedLibrary =
|
||||
!stdenv.isDarwin && !(stdenv ? isDietLibC) && system != "i686-cygwin";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user