All of lore.kernel.org
 help / color / mirror / Atom feed
From: gustavo.zacarias at free-electrons.com <gustavo.zacarias@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] minizip: new package
Date: Tue, 24 Nov 2015 14:11:06 -0300	[thread overview]
Message-ID: <1448385066-16920-1-git-send-email-gustavo.zacarias@free-electrons.com> (raw)

From: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
---
v2: Use github helper, add hash.
---
 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 f9af31c..d6d5505 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -746,6 +746,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 0000000..7205e00
--- /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 0000000..a303b2c
--- /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 0000000..5b87786
--- /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))
-- 
2.4.10

             reply	other threads:[~2015-11-24 17:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-24 17:11 gustavo.zacarias at free-electrons.com [this message]
2015-11-24 21:31 ` [Buildroot] [PATCH v2] minizip: new package Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1448385066-16920-1-git-send-email-gustavo.zacarias@free-electrons.com \
    --to=gustavo.zacarias@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.