2004-03-29 19:23:01 +02:00
|
|
|
{stdenv, fetchurl, perl}: stdenv.mkDerivation {
|
2005-07-12 16:34:12 +02:00
|
|
|
name = "openssl-0.9.8";
|
2003-11-05 13:17:48 +01:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2005-07-12 16:34:12 +02:00
|
|
|
url = http://www.openssl.org/source/openssl-0.9.8.tar.gz;
|
|
|
|
md5 = "9da21071596a124acde6080552deac16";
|
2004-03-27 16:49:20 +01:00
|
|
|
};
|
2005-07-13 13:22:38 +02:00
|
|
|
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 [];
|
2003-11-05 13:17:48 +01:00
|
|
|
}
|