2014-01-31 20:05:37 +00:00
|
|
|
{buildPerlPackage, fetchurl, db}:
|
2003-12-21 20:52:13 +00:00
|
|
|
|
2009-02-13 10:59:01 +00:00
|
|
|
buildPerlPackage rec {
|
2013-12-14 20:27:22 +00:00
|
|
|
name = "BerkeleyDB-0.54";
|
2008-10-22 19:25:01 +00:00
|
|
|
|
2003-12-21 20:52:13 +00:00
|
|
|
src = fetchurl {
|
2009-02-13 10:59:01 +00:00
|
|
|
url = "mirror://cpan/authors/id/P/PM/PMQS/${name}.tar.gz";
|
2013-12-14 20:27:22 +00:00
|
|
|
sha256 = "010e66d0034b93a8397c600da320611149aef7861eaf1f93b95e49ae37b825b8";
|
2003-12-21 20:52:13 +00:00
|
|
|
};
|
2008-10-22 19:25:01 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
2014-01-31 20:05:37 +00:00
|
|
|
echo "LIB = ${db}/lib" > config.in
|
|
|
|
echo "INCLUDE = ${db}/include" >> config.in
|
2008-10-22 19:25:01 +00:00
|
|
|
'';
|
2003-12-21 20:52:13 +00:00
|
|
|
}
|