From f00060a695b7016806d1ebf8679cc5ba1e8cbcf0 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 1 Oct 2001 02:50:09 +0000 Subject: archivers/p5-Compress-Zlib: The Compress::Zlib module provides a Perl interface to the zlib compression library. Most of the functionality provided by zlib is available in Compress::Zlib. --- archivers/p5-Compress-Zlib/Makefile | 18 ++++++++++++++++++ archivers/p5-Compress-Zlib/distinfo | 6 ++++++ archivers/p5-Compress-Zlib/patches/patch-aa | 13 +++++++++++++ archivers/p5-Compress-Zlib/patches/patch-ab | 22 ++++++++++++++++++++++ archivers/p5-Compress-Zlib/pkg/DESCR | 3 +++ archivers/p5-Compress-Zlib/pkg/PLIST | 1 + 6 files changed, 63 insertions(+) create mode 100644 archivers/p5-Compress-Zlib/Makefile create mode 100644 archivers/p5-Compress-Zlib/distinfo create mode 100644 archivers/p5-Compress-Zlib/patches/patch-aa create mode 100644 archivers/p5-Compress-Zlib/patches/patch-ab create mode 100644 archivers/p5-Compress-Zlib/pkg/DESCR create mode 100644 archivers/p5-Compress-Zlib/pkg/PLIST (limited to 'archivers') diff --git a/archivers/p5-Compress-Zlib/Makefile b/archivers/p5-Compress-Zlib/Makefile new file mode 100644 index 00000000000..3bb34d245d9 --- /dev/null +++ b/archivers/p5-Compress-Zlib/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/10/01 02:50:09 jlam Exp $ + +DISTNAME= Compress-Zlib-1.14 +PKGNAME= p5-${DISTNAME} +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Compress/} + +MAINTAINER= packages@netbsd.org +COMMENT= perl5 module interface to the zlib compression library + +USE_PERL5= YES +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Compress/Zlib/.packlist + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + +.include "../../devel/zlib/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/archivers/p5-Compress-Zlib/distinfo b/archivers/p5-Compress-Zlib/distinfo new file mode 100644 index 00000000000..8ebc532150b --- /dev/null +++ b/archivers/p5-Compress-Zlib/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/10/01 02:50:09 jlam Exp $ + +SHA1 (Compress-Zlib-1.14.tar.gz) = cce69e0004d4594e46e02fa16404fd19bd3f5280 +Size (Compress-Zlib-1.14.tar.gz) = 25022 bytes +SHA1 (patch-aa) = 40c171f6f1b46b5a20165b836b9f2f6b59fbb828 +SHA1 (patch-ab) = 7953c1cd8b20265bf0f9f2da8f35ab3b35ee8239 diff --git a/archivers/p5-Compress-Zlib/patches/patch-aa b/archivers/p5-Compress-Zlib/patches/patch-aa new file mode 100644 index 00000000000..6a2b6244c63 --- /dev/null +++ b/archivers/p5-Compress-Zlib/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/10/01 02:50:09 jlam Exp $ + +--- Makefile.PL.orig Thu May 31 18:24:58 2001 ++++ Makefile.PL +@@ -27,7 +27,7 @@ + }, + ($BUILD_ZLIB + ? (MYEXTLIB => "$ZLIB_LIB/libz\$(LIB_EXT)") +- : (LIBS => [ "-L$ZLIB_LIB -lz " ]) ++ : (LIBS => [ "-L$ZLIB_LIB -R$ZLIB_LIB -lz " ]) + ), + ($] >= 5.005 + ? (ABSTRACT_FROM => 'Zlib.pm', diff --git a/archivers/p5-Compress-Zlib/patches/patch-ab b/archivers/p5-Compress-Zlib/patches/patch-ab new file mode 100644 index 00000000000..634b150b00f --- /dev/null +++ b/archivers/p5-Compress-Zlib/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/10/01 02:50:09 jlam Exp $ + +--- config.in.orig Thu May 31 18:16:04 2001 ++++ config.in +@@ -25,7 +25,7 @@ + # If you have set BUILD_ZLIB above to True, the path should point to the + # zlib source directory. A relative path is sufficient. + +-INCLUDE = /usr/local/include ++INCLUDE = ${LOCALBASE}/include + #INCLUDE = ./zlib-1.1.3 + + # 3. Where is libz? +@@ -35,7 +35,7 @@ + # If you have set BUILD_ZLIB above to True, the path should point to the + # zlib source directory. A relative path is sufficient. + +-LIB = /usr/local/lib ++LIB = ${LOCALBASE}/lib + #LIB = ./zlib-1.1.3 + + # end of file config.in diff --git a/archivers/p5-Compress-Zlib/pkg/DESCR b/archivers/p5-Compress-Zlib/pkg/DESCR new file mode 100644 index 00000000000..a0aed90c2fd --- /dev/null +++ b/archivers/p5-Compress-Zlib/pkg/DESCR @@ -0,0 +1,3 @@ +The Compress::Zlib module provides a Perl interface to the zlib compression +library. Most of the functionality provided by zlib is available in +Compress::Zlib. diff --git a/archivers/p5-Compress-Zlib/pkg/PLIST b/archivers/p5-Compress-Zlib/pkg/PLIST new file mode 100644 index 00000000000..d0e93e6d0af --- /dev/null +++ b/archivers/p5-Compress-Zlib/pkg/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/10/01 02:50:09 jlam Exp $ -- cgit v1.2.3