From patchwork Mon Jul 13 00:38:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zoltan Gyarmati X-Patchwork-Id: 494198 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 284861402B7 for ; Mon, 13 Jul 2015 10:38:22 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=UBhEU039; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 70AABA315B; Mon, 13 Jul 2015 00:38:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v-nATqjUlvHJ; Mon, 13 Jul 2015 00:38:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id AE93EA3165; Mon, 13 Jul 2015 00:38:20 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 12F7A1C224A for ; Mon, 13 Jul 2015 00:38:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0C9DA915C5 for ; Mon, 13 Jul 2015 00:38:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5nf7mrokgrNc for ; Mon, 13 Jul 2015 00:38:19 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by whitealder.osuosl.org (Postfix) with ESMTPS id 41974915A9 for ; Mon, 13 Jul 2015 00:38:19 +0000 (UTC) Received: by wiga1 with SMTP id a1so55094475wig.0 for ; Sun, 12 Jul 2015 17:38:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=+SjyA6QIr8cMxCT4gr29lYqWeiiBLrp+Mt9MZ8tV4Tk=; b=UBhEU039HckuS2hmoUByDgQdSe4Eee0Q8bpm7jCyWtQOBGLZk7fEzJhzO5I50/utpY d2QH6oWJd10PZ2WTZfcHtd468vyjsPRwFMTNQFwzE6/Mcl4PLv97mDRdRYtqsuCcNkrb 1rIgooWbn3g6h+JRnOYSa8vQbaeMS385q2HY3TeeSj4iH0nCugVDVBHNEgc79/xqqgSz VV0A6scyKEyTgINbfTLwvib4wVkorXaQ8JNNso1FpnaeG01iuvofepNsfLBthpRi22rp yqgRi96ByIVY48Z2JMNRzQ7b0vVpSlO0k960e8ROfmZX1n+vuj63iuIG4Cla9ijlrw1n hc2Q== X-Received: by 10.181.13.230 with SMTP id fb6mr17163561wid.47.1436747897958; Sun, 12 Jul 2015 17:38:17 -0700 (PDT) Received: from localhost.localdomain (x5ce51e66.dyn.telefonica.de. [92.229.30.102]) by smtp.gmail.com with ESMTPSA id e2sm26044625wjw.12.2015.07.12.17.38.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 12 Jul 2015 17:38:17 -0700 (PDT) From: Zoltan Gyarmati To: buildroot@busybox.net Date: Mon, 13 Jul 2015 02:38:09 +0200 Message-Id: <1436747889-23748-1-git-send-email-mr.zoltan.gyarmati@gmail.com> X-Mailer: git-send-email 2.1.4 Subject: [Buildroot] [PATCH v2] quazip: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Zoltan Gyarmati --- Changes v1 -> v2: - correct license file name 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 ffa0aec..fb2069e 100644 --- a/package/Config.in +++ b/package/Config.in @@ -264,6 +264,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..ce36a9b --- /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 + +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))