aboutsummaryrefslogtreecommitdiff
path: root/package/minizip
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo.zacarias@free-electrons.com>2015-11-24 14:11:06 -0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2015-11-24 22:26:28 +0100
commit23e48191071d0b187073dee807ba25b7d4a9255c (patch)
tree341806a75e979673817050f9252ef5ac6dfc1f4f /package/minizip
parent7978db9b86183f2dd2b62c222d390d7ad330be49 (diff)
downloadbuildroot-23e48191071d0b187073dee807ba25b7d4a9255c.tar.gz
buildroot-23e48191071d0b187073dee807ba25b7d4a9255c.tar.bz2
minizip: new package
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/minizip')
-rw-r--r--package/minizip/Config.in15
-rw-r--r--package/minizip/minizip.hash2
-rw-r--r--package/minizip/minizip.mk16
3 files changed, 33 insertions, 0 deletions
diff --git a/package/minizip/Config.in b/package/minizip/Config.in
new file mode 100644
index 0000000000..7205e0007e
--- /dev/null
+++ b/package/minizip/Config.in
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_MINIZIP
+ bool "minizip"
+ select BR2_PACKAGE_ZLIB
+ help
+ Enables to extract files from a .zip archive file.
+ It is compatible with PKZip 2.04g, WinZip, InfoZip,
+ MimarSinan Codex Suite 2002 tools, and compatible sofware.
+
+ https://github.com/nmoinvaz/minizip
+
+config BR2_PACKAGE_MINIZIP_DEMOS
+ bool "miniunzip/minizip"
+ depends on BR2_PACKAGE_MINIZIP
+ help
+ Enable miniunzip/minizip binary tools.
diff --git a/package/minizip/minizip.hash b/package/minizip/minizip.hash
new file mode 100644
index 0000000000..a303b2c718
--- /dev/null
+++ b/package/minizip/minizip.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 b39158bdf3d8bf81d3a7412dc761851fda398bc93d8989d5e940ed4ae5bbb52c minizip-977afb22966e6ab0ee401293a8e85fe808133f9a.tar.gz
diff --git a/package/minizip/minizip.mk b/package/minizip/minizip.mk
new file mode 100644
index 0000000000..5b8778615a
--- /dev/null
+++ b/package/minizip/minizip.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# minizip
+#
+################################################################################
+
+MINIZIP_VERSION = 977afb22966e6ab0ee401293a8e85fe808133f9a
+MINIZIP_SITE = $(call github,nmoinvaz,minizip,$(MINIZIP_VERSION))
+MINIZIP_DEPENDENCIES = zlib
+MINIZIP_AUTORECONF = YES
+MINIZIP_INSTALL_STAGING = YES
+MINIZIP_CONF_OPTS = $(if $(BR2_PACKAGE_MINIZIP_DEMOS),--enable-demos)
+MINIZIP_LICENSE = zlib license
+MINIZIP_LICENSE_FILES = LICENSE
+
+$(eval $(autotools-package))