import of p5-Compress-Bzip2-2.09
p5-Compress-Bzip2 a Perl interface to the bzip2 compression algorithms. It uses the low level interface to the algorithm, and reimplements all high level routines. ok jasper@
This commit is contained in:
parent
4f553e2d48
commit
cb369e4eeb
24
archivers/p5-Compress-Bzip2/Makefile
Normal file
24
archivers/p5-Compress-Bzip2/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/11/11 13:55:21 kevlo Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= interface to bzip2 compression library
|
||||
|
||||
DISTNAME= Compress-Bzip2-2.09
|
||||
CATEGORIES= archivers
|
||||
|
||||
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MODULES= cpan
|
||||
LIB_DEPENDS= bz2.>=10::archivers/bzip2
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/config.in
|
||||
|
||||
.include <bsd.port.mk>
|
5
archivers/p5-Compress-Bzip2/distinfo
Normal file
5
archivers/p5-Compress-Bzip2/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (Compress-Bzip2-2.09.tar.gz) = Fpn94+hvKgNvE1rmBtRWvw==
|
||||
RMD160 (Compress-Bzip2-2.09.tar.gz) = lKc5hYyax64y1ClNqbVKjPNVRas=
|
||||
SHA1 (Compress-Bzip2-2.09.tar.gz) = vBPLD/nVs5t3D+iVgHdaIZnei+8=
|
||||
SHA256 (Compress-Bzip2-2.09.tar.gz) = tDt/vZCkBkVLS5s3ZbFAaZpyZT3Wu6KY8pdMoanVxPg=
|
||||
SIZE (Compress-Bzip2-2.09.tar.gz) = 429584
|
18
archivers/p5-Compress-Bzip2/patches/patch-config_in
Normal file
18
archivers/p5-Compress-Bzip2/patches/patch-config_in
Normal file
@ -0,0 +1,18 @@
|
||||
$OpenBSD: patch-config_in,v 1.1.1.1 2008/11/11 13:55:21 kevlo Exp $
|
||||
--- config.in.orig Tue Apr 26 20:05:20 2005
|
||||
+++ config.in Tue Nov 4 15:57:03 2008
|
||||
@@ -8,10 +8,10 @@
|
||||
# This file is used to control which bzip2 library will be used by
|
||||
# Compress::Bzip2
|
||||
|
||||
-BUILD_BZLIB = Test
|
||||
+BUILD_BZLIB = 0
|
||||
|
||||
-BZLIB_INCLUDE = #./bzlib-src
|
||||
-BZLIB_LIB = #./bzlib-src
|
||||
-BZLIB_BIN = #./bzlib-src
|
||||
+BZLIB_INCLUDE = ${LOCALBASE}/include
|
||||
+BZLIB_LIB = ${LOCALBASE}/lib
|
||||
+BZLIB_BIN = ${LOCALBASE}/bin
|
||||
|
||||
# end of file config.in
|
26
archivers/p5-Compress-Bzip2/patches/patch-ppport_h
Normal file
26
archivers/p5-Compress-Bzip2/patches/patch-ppport_h
Normal file
@ -0,0 +1,26 @@
|
||||
$OpenBSD: patch-ppport_h,v 1.1.1.1 2008/11/11 13:55:21 kevlo Exp $
|
||||
--- ppport.h.orig Thu Apr 14 04:33:35 2005
|
||||
+++ ppport.h Tue Nov 4 15:48:27 2008
|
||||
@@ -221,14 +221,16 @@ __DATA__
|
||||
/* Replace: 0 */
|
||||
#endif
|
||||
|
||||
-#ifdef HASATTRIBUTE
|
||||
-# if (defined(__GNUC__) && defined(__cplusplus)) || defined(__INTEL_COMPILER)
|
||||
-# define PERL_UNUSED_DECL
|
||||
+#ifndef PERL_UNUSED_DECL
|
||||
+# ifdef HASATTRIBUTE
|
||||
+# if (defined(__GNUC__) && defined(__cplusplus)) || defined(__INTEL_COMPILER)
|
||||
+# define PERL_UNUSED_DECL
|
||||
+# else
|
||||
+# define PERL_UNUSED_DECL __attribute__((unused))
|
||||
+# endif
|
||||
# else
|
||||
-# define PERL_UNUSED_DECL __attribute__((unused))
|
||||
+# define PERL_UNUSED_DECL
|
||||
# endif
|
||||
-#else
|
||||
-# define PERL_UNUSED_DECL
|
||||
#endif
|
||||
|
||||
#ifndef dNOOP
|
3
archivers/p5-Compress-Bzip2/pkg/DESCR
Normal file
3
archivers/p5-Compress-Bzip2/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
This module provides a Perl interface to the bzip2 compression
|
||||
algorithms. It uses the low level interface to the algorithm,
|
||||
and reimplements all high level routines.
|
11
archivers/p5-Compress-Bzip2/pkg/PLIST
Normal file
11
archivers/p5-Compress-Bzip2/pkg/PLIST
Normal file
@ -0,0 +1,11 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/11/11 13:55:21 kevlo Exp $
|
||||
${P5ARCH}/
|
||||
${P5ARCH}/Compress/
|
||||
${P5ARCH}/Compress/Bzip2.pm
|
||||
${P5ARCH}/auto/
|
||||
${P5ARCH}/auto/Compress/
|
||||
${P5ARCH}/auto/Compress/Bzip2/
|
||||
${P5ARCH}/auto/Compress/Bzip2/Bzip2.bs
|
||||
${P5ARCH}/auto/Compress/Bzip2/Bzip2.so
|
||||
${P5ARCH}/auto/Compress/Bzip2/autosplit.ix
|
||||
@man man/man3p/Compress::Bzip2.3p
|
Loading…
Reference in New Issue
Block a user