2009-02-13 11:59:01 +01:00
|
|
|
{buildPerlPackage, fetchurl, db4}:
|
2003-12-21 21:52:13 +01:00
|
|
|
|
2009-02-13 11:59:01 +01:00
|
|
|
buildPerlPackage rec {
|
|
|
|
name = "BerkeleyDB-0.36";
|
2008-10-22 21:25:01 +02:00
|
|
|
|
2003-12-21 21:52:13 +01:00
|
|
|
src = fetchurl {
|
2009-02-13 11:59:01 +01:00
|
|
|
url = "mirror://cpan/authors/id/P/PM/PMQS/${name}.tar.gz";
|
|
|
|
sha256 = "07xf50riarb60l1h6m2dqmql8q5dij619712fsgw7ach04d8g3z1";
|
2003-12-21 21:52:13 +01:00
|
|
|
};
|
2008-10-22 21:25:01 +02:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
echo "LIB = ${db4}/lib" > config.in
|
|
|
|
echo "INCLUDE = ${db4}/include" >> config.in
|
|
|
|
'';
|
2003-12-21 21:52:13 +01:00
|
|
|
}
|