2004-04-05 11:34:43 +02:00
|
|
|
{stdenv, fetchurl, cxxSupport ? true, compat185 ? true}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2005-05-09 17:39:01 +02:00
|
|
|
name = "db4-4.3.28";
|
2003-11-05 13:17:48 +01:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2005-05-09 17:39:01 +02:00
|
|
|
url = http://downloads.sleepycat.com/db-4.3.28.NC.tar.gz;
|
|
|
|
md5 = "6efcf5f4f30c7170f68d8952739771cd";
|
2003-11-05 17:28:26 +01:00
|
|
|
};
|
2004-04-05 11:34:43 +02:00
|
|
|
configureFlags = [
|
|
|
|
(if cxxSupport then "--enable-cxx" else "--disable-cxx")
|
|
|
|
(if cxxSupport then "--enable-compat185" else "--disable-compat185")
|
|
|
|
];
|
2003-11-05 13:17:48 +01:00
|
|
|
}
|