diff options
author | dillo <dillo@pkgsrc.org> | 2005-06-22 21:11:38 +0000 |
---|---|---|
committer | dillo <dillo@pkgsrc.org> | 2005-06-22 21:11:38 +0000 |
commit | 97f6339c5429cb01abe027cc74545cab961be829 (patch) | |
tree | 69c3500f635463f28dae6939baee6aa8c3a2f64b | |
parent | 4c78cba8f49c295116b7155016f5b1d4852822ae (diff) | |
download | pkgsrc-97f6339c5429cb01abe027cc74545cab961be829.tar.gz |
Import libzip-0.6, a C library to manipulate zip archives.
-rw-r--r-- | archivers/libzip/DESCR | 5 | ||||
-rw-r--r-- | archivers/libzip/Makefile | 20 | ||||
-rw-r--r-- | archivers/libzip/PLIST | 39 | ||||
-rw-r--r-- | archivers/libzip/buildlink3.mk | 20 | ||||
-rw-r--r-- | archivers/libzip/distinfo | 5 |
5 files changed, 89 insertions, 0 deletions
diff --git a/archivers/libzip/DESCR b/archivers/libzip/DESCR new file mode 100644 index 00000000000..4aa051e4dad --- /dev/null +++ b/archivers/libzip/DESCR @@ -0,0 +1,5 @@ +libzip is a C library for reading, creating, and modifying zip +archives. Files can be added from data buffers, files, or compressed +data copied directly from other zip archives. Changes made without +closing the archive can be reverted. The API is documented by man +pages. diff --git a/archivers/libzip/Makefile b/archivers/libzip/Makefile new file mode 100644 index 00000000000..88c45a25473 --- /dev/null +++ b/archivers/libzip/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/06/22 21:11:38 dillo Exp $ +# + +DISTNAME= libzip-0.6 +CATEGORIES= archivers devel +MASTER_SITES= http://www.nih.at/libzip/ + +MAINTAINER= dillo@NetBSD.org +HOMEPAGE= http://www.nih.at/libzip/ +COMMENT= C library to manipulate zip archives + +USE_PKGLOCALEDIR= yes +USE_LIBTOOL= yes +PKGCONFIG_OVERRIDE+= ${WRKSRC}/libzip.pc.in +GNU_CONFIGURE= yes + +TEST_TARGET= check + +.include "../../devel/zlib/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/archivers/libzip/PLIST b/archivers/libzip/PLIST new file mode 100644 index 00000000000..f693f60ba40 --- /dev/null +++ b/archivers/libzip/PLIST @@ -0,0 +1,39 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/06/22 21:11:39 dillo Exp $ +bin/zipcmp +bin/zipmerge +include/zip.h +lib/libzip.la +lib/pkgconfig/libzip.pc +man/man1/zipcmp.1 +man/man1/zipmerge.1 +man/man3/libzip.3 +man/man3/zip_add.3 +man/man3/zip_close.3 +man/man3/zip_delete.3 +man/man3/zip_error_get.3 +man/man3/zip_error_get_sys_type.3 +man/man3/zip_error_to_str.3 +man/man3/zip_errors.3 +man/man3/zip_fclose.3 +man/man3/zip_file_error_get.3 +man/man3/zip_file_strerror.3 +man/man3/zip_fopen.3 +man/man3/zip_fopen_index.3 +man/man3/zip_fread.3 +man/man3/zip_get_name.3 +man/man3/zip_get_num_files.3 +man/man3/zip_name_locate.3 +man/man3/zip_open.3 +man/man3/zip_rename.3 +man/man3/zip_replace.3 +man/man3/zip_source_buffer.3 +man/man3/zip_source_file.3 +man/man3/zip_source_filep.3 +man/man3/zip_source_free.3 +man/man3/zip_source_function.3 +man/man3/zip_source_zip.3 +man/man3/zip_stat.3 +man/man3/zip_stat_index.3 +man/man3/zip_strerror.3 +man/man3/zip_unchange.3 +man/man3/zip_unchange_all.3 diff --git a/archivers/libzip/buildlink3.mk b/archivers/libzip/buildlink3.mk new file mode 100644 index 00000000000..c94749f07d8 --- /dev/null +++ b/archivers/libzip/buildlink3.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/06/22 21:11:39 dillo Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBZIP_BUILDLINK3_MK:= ${LIBZIP_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libzip +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibzip} +BUILDLINK_PACKAGES+= libzip + +.if !empty(LIBZIP_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.libzip+= libzip>=0.6 +BUILDLINK_PKGSRCDIR.libzip?= ../../archivers/libzip +.endif # LIBZIP_BUILDLINK3_MK + +.include "../../devel/zlib/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/archivers/libzip/distinfo b/archivers/libzip/distinfo new file mode 100644 index 00000000000..5924634d292 --- /dev/null +++ b/archivers/libzip/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/06/22 21:11:39 dillo Exp $ + +SHA1 (libzip-0.6.tar.gz) = 5ee4d85117a765b73276765e81ab82607f774c50 +RMD160 (libzip-0.6.tar.gz) = c19408d75b9a4ff826f11be28a09af6a6c3dfc5d +Size (libzip-0.6.tar.gz) = 380502 bytes |