2004-04-05 10:34:43 +01:00
|
|
|
{stdenv, fetchurl, cxxSupport ? true, compat185 ? true}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2003-12-22 18:30:38 +00:00
|
|
|
name = "db4-4.2.52";
|
2003-11-05 12:17:48 +00:00
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2005-02-15 14:44:19 +00:00
|
|
|
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/db-4.2.52.tar.gz;
|
2003-12-22 18:30:38 +00:00
|
|
|
md5 = "cbc77517c9278cdb47613ce8cb55779f";
|
2003-11-05 16:28:26 +00:00
|
|
|
};
|
2004-04-05 10:34:43 +01:00
|
|
|
configureFlags = [
|
|
|
|
(if cxxSupport then "--enable-cxx" else "--disable-cxx")
|
|
|
|
(if cxxSupport then "--enable-compat185" else "--disable-compat185")
|
|
|
|
];
|
2003-11-05 12:17:48 +00:00
|
|
|
}
|