2008-02-12 09:42:56 +01:00
|
|
|
{fetchurl, perl, db4}:
|
|
|
|
|
|
|
|
import ../generic perl {
|
|
|
|
name = "DB_File-1.816";
|
2008-10-22 21:25:01 +02:00
|
|
|
|
2008-02-12 09:42:56 +01:00
|
|
|
src = fetchurl {
|
2008-02-21 16:52:31 +01:00
|
|
|
url = mirror://cpan/authors/id/P/PM/PMQS/DB_File-1.816.tar.gz;
|
2008-02-12 09:42:56 +01:00
|
|
|
sha256 = "1a668hk5v0l180kbqss2hq9khl756cmrykn8fz1rl4qzsp6lq284";
|
|
|
|
};
|
2008-10-22 21:25:01 +02:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cat > config.in <<EOF
|
|
|
|
PREFIX = size_t
|
|
|
|
HASH = u_int32_t
|
|
|
|
LIB = ${db4}/lib
|
|
|
|
INCLUDE = ${db4}/include
|
|
|
|
EOF
|
|
|
|
'';
|
|
|
|
|
2008-02-12 09:42:56 +01:00
|
|
|
inherit db4;
|
|
|
|
}
|