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 {
|
2013-12-14 21:27:22 +01:00
|
|
|
name = "BerkeleyDB-0.54";
|
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";
|
2013-12-14 21:27:22 +01:00
|
|
|
sha256 = "010e66d0034b93a8397c600da320611149aef7861eaf1f93b95e49ae37b825b8";
|
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
|
|
|
}
|