All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] quazip: new package
@ 2015-07-09  3:17 Zoltan Gyarmati
  0 siblings, 0 replies; only message in thread
From: Zoltan Gyarmati @ 2015-07-09  3:17 UTC (permalink / raw
  To: buildroot

Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
---
 package/Config.in          |  1 +
 package/quazip/Config.in   |  9 +++++++++
 package/quazip/quazip.hash |  2 ++
 package/quazip/quazip.mk   | 39 +++++++++++++++++++++++++++++++++++++++
 4 files changed, 51 insertions(+)
 create mode 100644 package/quazip/Config.in
 create mode 100644 package/quazip/quazip.hash
 create mode 100644 package/quazip/quazip.mk

diff --git a/package/Config.in b/package/Config.in
index d9b0794..5c383ac 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -263,6 +263,7 @@ comment "QT libraries and helper libraries"
 	source "package/qextserialport/Config.in"
 	source "package/qjson/Config.in"
 	source "package/qtuio/Config.in"
+	source "package/quazip/Config.in"
 	source "package/qwt/Config.in"
 endif
 	source "package/weston/Config.in"
diff --git a/package/quazip/Config.in b/package/quazip/Config.in
new file mode 100644
index 0000000..8c41478
--- /dev/null
+++ b/package/quazip/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_QUAZIP
+	bool "quazip"
+	depends on BR2_PACKAGE_QT || BR2_PACKAGE_QT5
+    select BR2_PACKAGE_ZLIB
+	help
+	  QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package
+	  that can be used to access ZIP archives. It uses the Qt toolkit.
+
+	  http://quazip.sourceforge.net
diff --git a/package/quazip/quazip.hash b/package/quazip/quazip.hash
new file mode 100644
index 0000000..84b56c7
--- /dev/null
+++ b/package/quazip/quazip.hash
@@ -0,0 +1,2 @@
+# Locally computed:
+sha256 78c984103555c51e6f7ef52e3a2128e2beb9896871b2cc4d4dbd4d64bff132de quazip-0.7.1.tar.gz
diff --git a/package/quazip/quazip.mk b/package/quazip/quazip.mk
new file mode 100644
index 0000000..ff3f4eb
--- /dev/null
+++ b/package/quazip/quazip.mk
@@ -0,0 +1,39 @@
+################################################################################
+#
+# quazip
+#
+################################################################################
+
+QUAZIP_VERSION = 0.7.1
+QUAZIP_SITE = http://sourceforge.net/projects/quazip/files/quazip/$(QUAZIP_VERSION)/
+QUAZIP_SOURCE=quazip-$(QUAZIP_VERSION).tar.gz
+QUAZIP_INSTALL_STAGING = YES
+QUAZIP_DEPENDENCIES = \
+	$(if $(BR2_PACKAGE_QT),qt) \
+	$(if $(BR2_PACKAGE_QT5),qt5base)
+QUAZIP_LICENSE = LGPLv2.1
+QUAZIP_LICENSE_FILES = COPYING.lib
+
+ifeq ($(BR2_PACKAGE_QT5),y)
+QUAZIP_QMAKE=$(QT5_QMAKE)
+else
+QUAZIP_QMAKE=$(QT_QMAKE)
+endif
+
+define QUAZIP_CONFIGURE_CMDS
+	(cd $(@D); $(TARGET_MAKE_ENV) $(QUAZIP_QMAKE) PREFIX=/usr)
+endef
+
+define QUAZIP_BUILD_CMDS
+	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
+endef
+
+define QUAZIP_INSTALL_STAGING_CMDS
+	$(MAKE) -C $(@D) install INSTALL_ROOT=$(STAGING_DIR)
+endef
+
+define QUAZIP_INSTALL_TARGET_CMDS
+	$(MAKE) -C $(@D) install INSTALL_ROOT=$(TARGET_DIR)
+endef
+
+$(eval $(generic-package))
-- 
2.1.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-09  3:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-09  3:17 [Buildroot] [PATCH 1/1] quazip: new package Zoltan Gyarmati

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.