2011-09-16 11:32:37 +01:00
|
|
|
{ fetchurl, buildPerlPackage, zlib }:
|
2009-02-12 20:18:13 +00:00
|
|
|
|
|
|
|
buildPerlPackage rec {
|
2012-03-07 06:52:02 +00:00
|
|
|
name = "Compress-Raw-Zlib-2.051";
|
|
|
|
|
2009-02-12 20:18:13 +00:00
|
|
|
src = fetchurl {
|
2011-09-16 11:32:37 +01:00
|
|
|
url = "mirror://cpan/modules/by-module/Compress/${name}.tar.gz";
|
2012-03-07 06:52:02 +00:00
|
|
|
sha256 = "16c7e0d2ed339c0b5ffe787bbcc9fc063ce6f2145d8cd6a18d0c79fa68d36c09";
|
2009-02-12 20:18:13 +00:00
|
|
|
};
|
2012-03-07 06:52:02 +00:00
|
|
|
|
2009-02-12 20:18:13 +00:00
|
|
|
preConfigure = ''
|
|
|
|
cat > config.in <<EOF
|
|
|
|
BUILD_ZLIB = False
|
|
|
|
INCLUDE = ${zlib}/include
|
|
|
|
LIB = ${zlib}/lib
|
|
|
|
OLD_ZLIB = False
|
|
|
|
GZIP_OS_CODE = AUTO_DETECT
|
|
|
|
EOF
|
|
|
|
'';
|
|
|
|
}
|