From 23e48191071d0b187073dee807ba25b7d4a9255c Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Tue, 24 Nov 2015 14:11:06 -0300 Subject: [PATCH] minizip: new package Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/minizip/Config.in | 15 +++++++++++++++ package/minizip/minizip.hash | 2 ++ package/minizip/minizip.mk | 16 ++++++++++++++++ 4 files changed, 34 insertions(+) create mode 100644 package/minizip/Config.in create mode 100644 package/minizip/minizip.hash create mode 100644 package/minizip/minizip.mk diff --git a/package/Config.in b/package/Config.in index 3656c54c3d..988fe844b8 100644 --- a/package/Config.in +++ b/package/Config.in @@ -741,6 +741,7 @@ menu "Compression and decompression" source "package/libsquish/Config.in" source "package/libzip/Config.in" source "package/lzo/Config.in" + source "package/minizip/Config.in" source "package/snappy/Config.in" source "package/szip/Config.in" source "package/zlib/Config.in" 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))