summaryrefslogtreecommitdiff
path: root/devel/p5-Compress-Raw-Zlib
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-02-02 19:08:39 +0000
committerwiz <wiz@pkgsrc.org>2007-02-02 19:08:39 +0000
commite13de621649c46684e1b54ff8751f69a80b25d55 (patch)
treedbd186e7408d6dabed2c10bcc6cbb24777d09768 /devel/p5-Compress-Raw-Zlib
parenta3bd6e1e1e3ce35d1762b5a4f10311df498d1a55 (diff)
downloadpkgsrc-e13de621649c46684e1b54ff8751f69a80b25d55.tar.gz
Initial import:
This module provides a Perl interface to the zlib compression library.
Diffstat (limited to 'devel/p5-Compress-Raw-Zlib')
-rw-r--r--devel/p5-Compress-Raw-Zlib/DESCR1
-rw-r--r--devel/p5-Compress-Raw-Zlib/Makefile24
-rw-r--r--devel/p5-Compress-Raw-Zlib/PLIST1
-rw-r--r--devel/p5-Compress-Raw-Zlib/distinfo6
-rw-r--r--devel/p5-Compress-Raw-Zlib/patches/patch-aa13
5 files changed, 45 insertions, 0 deletions
diff --git a/devel/p5-Compress-Raw-Zlib/DESCR b/devel/p5-Compress-Raw-Zlib/DESCR
new file mode 100644
index 00000000000..5f5edd75034
--- /dev/null
+++ b/devel/p5-Compress-Raw-Zlib/DESCR
@@ -0,0 +1 @@
+This module provides a Perl interface to the zlib compression library.
diff --git a/devel/p5-Compress-Raw-Zlib/Makefile b/devel/p5-Compress-Raw-Zlib/Makefile
new file mode 100644
index 00000000000..8724468f038
--- /dev/null
+++ b/devel/p5-Compress-Raw-Zlib/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/02/02 19:08:39 wiz Exp $
+
+DISTNAME= Compress-Raw-Zlib-2.003
+PKGNAME= p5-${DISTNAME}
+SVR4_PKGNAME= p5crz
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Compress/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Compress-Raw-Zlib/
+COMMENT= Perl5 module interface to the zlib compression library
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PERL5_PACKLIST= auto/Compress/Raw/Zlib/.packlist
+MAKE_ENV+= BUILD_ZLIB=False
+MAKE_ENV+= OLD_ZLIB=False
+MAKE_ENV+= ZLIB_LIB=${BUILDLINK_PREFIX.zlib}/lib
+MAKE_ENV+= ZLIB_INCLUDE=${BUILDLINK_PREFIX.zlib}/include
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Compress-Raw-Zlib/PLIST b/devel/p5-Compress-Raw-Zlib/PLIST
new file mode 100644
index 00000000000..a2c3b01a98c
--- /dev/null
+++ b/devel/p5-Compress-Raw-Zlib/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/02/02 19:08:39 wiz Exp $
diff --git a/devel/p5-Compress-Raw-Zlib/distinfo b/devel/p5-Compress-Raw-Zlib/distinfo
new file mode 100644
index 00000000000..d66e483d4ce
--- /dev/null
+++ b/devel/p5-Compress-Raw-Zlib/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/02/02 19:08:39 wiz Exp $
+
+SHA1 (Compress-Raw-Zlib-2.003.tar.gz) = ee01fec4c67b8a30f4709e58c38d7bd0ed0ac92f
+RMD160 (Compress-Raw-Zlib-2.003.tar.gz) = cfae2765067ede40f8770f42189e650d3bae385f
+Size (Compress-Raw-Zlib-2.003.tar.gz) = 207299 bytes
+SHA1 (patch-aa) = f17176f71e68e513fb9a0eb88bcc3ed43ef9b1bf
diff --git a/devel/p5-Compress-Raw-Zlib/patches/patch-aa b/devel/p5-Compress-Raw-Zlib/patches/patch-aa
new file mode 100644
index 00000000000..e6176db1b44
--- /dev/null
+++ b/devel/p5-Compress-Raw-Zlib/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/02/02 19:08:39 wiz Exp $
+
+--- Makefile.PL.orig 2006-07-07 16:23:00.000000000 +0000
++++ Makefile.PL
+@@ -85,7 +85,7 @@ WriteMakefile(
+ (
+ $BUILD_ZLIB
+ ? zlib_files($ZLIB_LIB)
+- : (LIBS => [ "-L$ZLIB_LIB -lz " ])
++ : (LIBS => [ "-L$ZLIB_LIB $ENV{'COMPILER_RPATH_FLAG'}$ZLIB_LIB -lz " ])
+ ),
+
+ (