libzip: new package
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 29 Jan 2015 11:35:36 +0000 (12:35 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 31 Jan 2015 23:21:10 +0000 (00:21 +0100)
[Peter: license is BSD-3c]
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/libzip/Config.in [new file with mode: 0644]
package/libzip/libzip.mk [new file with mode: 0644]

index 095126d3958e7ff3d791bd9258aae7e7952a6c2f..88a37d7436251226a9033c71005da21cfc29bd57 100644 (file)
@@ -605,6 +605,7 @@ endmenu
 
 menu "Compression and decompression"
        source "package/libarchive/Config.in"
+       source "package/libzip/Config.in"
        source "package/lzo/Config.in"
        source "package/snappy/Config.in"
        source "package/szip/Config.in"
diff --git a/package/libzip/Config.in b/package/libzip/Config.in
new file mode 100644 (file)
index 0000000..54de9e5
--- /dev/null
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LIBZIP
+       bool "libzip"
+       select BR2_PACKAGE_ZLIB
+       help
+         C library for reading, creating, and modifying zip archives. This
+         package also contains zipcmp, ziptorrent and zipmerge utilities.
+
+         http://www.nih.at/libzip/
diff --git a/package/libzip/libzip.mk b/package/libzip/libzip.mk
new file mode 100644 (file)
index 0000000..e5d8e26
--- /dev/null
@@ -0,0 +1,15 @@
+################################################################################
+#
+# libzip
+#
+################################################################################
+
+LIBZIP_VERSION = 0.11.2
+LIBZIP_SITE = http://www.nih.at/libzip/
+LIBZIP_SOURCE = libzip-$(LIBZIP_VERSION).tar.xz
+LIBZIP_LICENSE = BSD-3c
+LIBZIP_LICENSE_FILES = LICENSE
+LIBZIP_INSTALL_STAGING = YES
+LIBZIP_DEPENDENCIES = zlib
+
+$(eval $(autotools-package))