summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2003-12-14 13:53:56 +0000
committerjdolecek <jdolecek@pkgsrc.org>2003-12-14 13:53:56 +0000
commit05aa792b1b556075490b3ed3f657d98b906879f3 (patch)
tree2a4067d2af9298e1595fd47896c011e821433fad /archivers
parent18fd3ff90419eee9bd0ca213301c821baf8bf810 (diff)
downloadpkgsrc-05aa792b1b556075490b3ed3f657d98b906879f3.tar.gz
add zziplib 0.10.82 - leightweight library for Zip archive file handling
Diffstat (limited to 'archivers')
-rw-r--r--archivers/zziplib/DESCR6
-rw-r--r--archivers/zziplib/Makefile19
-rw-r--r--archivers/zziplib/PLIST33
-rw-r--r--archivers/zziplib/buildlink2.mk30
-rw-r--r--archivers/zziplib/distinfo4
5 files changed, 92 insertions, 0 deletions
diff --git a/archivers/zziplib/DESCR b/archivers/zziplib/DESCR
new file mode 100644
index 00000000000..86af55a0af4
--- /dev/null
+++ b/archivers/zziplib/DESCR
@@ -0,0 +1,6 @@
+The zziplib library is intentionally lightweight, it offers the
+ability to easily extract data from files archived in a single zip
+file. Applications can bundle files into a single zip archive and
+access them. The implementation is based only on the (free) subset
+of compression with the zlib algorithm which is actually used by
+the zip/unzip tools.
diff --git a/archivers/zziplib/Makefile b/archivers/zziplib/Makefile
new file mode 100644
index 00000000000..065d970833f
--- /dev/null
+++ b/archivers/zziplib/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/14 13:53:56 jdolecek Exp $
+#
+
+PKGNAME= zziplib-0.10.82
+DISTNAME= ${PKGNAME}
+EXTRACT_SUFX= .tar.bz2
+CATEGORIES= archivers
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=zziplib/}
+
+MAINTAINER= tech-pkg@NetBSD.org
+COMMENT= Library for ZIP archive handling
+
+USE_BUILDLINK2= yes
+GNU_CONFIGURE= yes
+LIBTOOL_OVERRIDE= yes
+CONFIGURE_ARGS= --with-zlib=${BUILDLINK_DIR}
+
+.include "../../devel/zlib/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/zziplib/PLIST b/archivers/zziplib/PLIST
new file mode 100644
index 00000000000..2e39ae55762
--- /dev/null
+++ b/archivers/zziplib/PLIST
@@ -0,0 +1,33 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/14 13:53:56 jdolecek Exp $
+bin/zzcat
+bin/zzdir
+bin/zzip-config
+bin/zzxorcat
+bin/zzxorcopy
+bin/zzxordir
+include/zzip-io.h
+include/zzip.h
+include/zzipformat.h
+include/zziplib.h
+include/zzipwrap.h
+include/zzip/_config.h
+include/zzip/_msvc.h
+include/zzip/conf.h
+include/zzip/file.h
+include/zzip/format.h
+include/zzip/lib.h
+include/zzip/plugin.h
+include/zzip/stdint.h
+include/zzip/wrap.h
+include/zzip/zzip.h
+lib/libzzip-0.so.10.82
+lib/libzzip-0.so.10
+lib/libzzip-0.so
+lib/libzzip.a
+lib/libzzip.la
+lib/libzzip.so
+lib/pkgconfig/zzip-zlib-config.pc
+lib/pkgconfig/zziplib.pc
+lib/pkgconfig/zzipwrap.pc
+share/aclocal/zziplib.m4
+@dirrm include/zzip
diff --git a/archivers/zziplib/buildlink2.mk b/archivers/zziplib/buildlink2.mk
new file mode 100644
index 00000000000..b8ecbdbaa3a
--- /dev/null
+++ b/archivers/zziplib/buildlink2.mk
@@ -0,0 +1,30 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/12/14 13:53:56 jdolecek Exp $
+
+.if !defined(ZZIPLIB_BUILDLINK2_MK)
+ZZIPLIB_BUILDLINK2_MK= # defined
+
+.include "../../mk/bsd.prefs.mk"
+
+BUILDLINK_DEPENDS.zziplib?= zziplib>=0.10.82
+BUILDLINK_PKGSRCDIR.zziplib?= ../../archivers/zziplib
+
+BUILDLINK_PACKAGES+= zziplib
+EVAL_PREFIX+= BUILDLINK_PREFIX.zziplib=zziplib
+BUILDLINK_PREFIX.zziplib_DEFAULT= ${LOCALBASE}
+_BLNK_ZZIPLIB_LDFLAGS= -L${BUILDLINK_PREFIX.zziplib}/lib -lzzip
+
+LIBTOOL_ARCHIVE_UNTRANSFORM_SED+= \
+ -e "s|${BUILDLINK_PREFIX.zziplib}/lib/libzzip.la|${_BLNK_ZZIPLIB_LDFLAGS}|g" \
+ -e "s|${LOCALBASE}/lib/libzzip.la|${_BLNK_ZZIPLIB_LDFLAGS}|g"
+
+BUILDLINK_FILES.zziplib= include/zzip/* include/zzip*.h
+BUILDLINK_FILES.zziplib+= lib/libzzip.* lib/libzzip-0.*
+
+
+BUILDLINK_TARGETS+= zziplib-buildlink
+
+zziplib-buildlink: _BUILDLINK_USE
+
+.include "../../devel/zlib/buildlink2.mk"
+
+.endif # ZZIPLIB_BUILDLINK2_MK
diff --git a/archivers/zziplib/distinfo b/archivers/zziplib/distinfo
new file mode 100644
index 00000000000..a0a21ac1157
--- /dev/null
+++ b/archivers/zziplib/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/12/14 13:53:56 jdolecek Exp $
+
+SHA1 (zziplib-0.10.82.tar.bz2) = 7f9e07a200a52e38b9011acefcbed9fff0e4b6d3
+Size (zziplib-0.10.82.tar.bz2) = 572573 bytes