nixpkgs/pkgs/development/libraries/openssl/default.nix
Eelco Dolstra 89686a2252 * Darwin compatibility fix, and modernise the ancient builder.
svn path=/nixpkgs/trunk/; revision=3332
2005-07-13 11:22:38 +00:00

14 lines
459 B
Nix

{stdenv, fetchurl, perl}: stdenv.mkDerivation {
name = "openssl-0.9.8";
builder = ./builder.sh;
src = fetchurl {
url = http://www.openssl.org/source/openssl-0.9.8.tar.gz;
md5 = "9da21071596a124acde6080552deac16";
};
buildInputs = [perl];
# Quick fix for a Makefile bug in openssl-0.9.8 (`make install'
# tries to copy .so files, instead of .dylib files).
patches = if stdenv.system == "powerpc-darwin" then [./dylib.patch] else [];
}