From patchwork Tue May 6 12:35:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sagaert Johan X-Patchwork-Id: 346163 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id EA2B61402C0 for ; Tue, 6 May 2014 22:35:23 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 226E88A4CE; Tue, 6 May 2014 12:35:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tVVTYteJOG-X; Tue, 6 May 2014 12:35:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 503478A6AF; Tue, 6 May 2014 12:35:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 020D71C279C for ; Tue, 6 May 2014 12:35:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id F338F8C160 for ; Tue, 6 May 2014 12:35:17 +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 dZT4V4vJs0WS for ; Tue, 6 May 2014 12:35:16 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailrelay003.isp.belgacom.be (mailrelay003.isp.belgacom.be [195.238.6.53]) by whitealder.osuosl.org (Postfix) with ESMTP id B9B91895FD for ; Tue, 6 May 2014 12:35:15 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApQGANDVaFNtghuO/2dsb2JhbABZgwZPxTSBGxd0giUBXCMsAwECHUsWIYhFAQjNXo5ShEYElUEFg3GBPJE/gzY7 Received: from 142.27-130-109.adsl-dyn.isp.belgacom.be (HELO debian605.apex) ([109.130.27.142]) by relay.skynet.be with ESMTP; 06 May 2014 14:35:12 +0200 From: Sagaert Johan To: buildroot@busybox.net Date: Tue, 6 May 2014 14:35:03 +0200 Message-Id: <1399379703-24061-1-git-send-email-sagaert.johan@skynet.be> X-Mailer: git-send-email 1.9.2 Cc: Sagaert Johan Subject: [Buildroot] [PATCH 1/1 v5] qdecoder : new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net Features: Supports parsing a request encoded by GET/POST method Supports parsing multipart/form-data encoding.(in-memory and direct disk) Supports COOKIE handling. Supports Session management. Supports FastCGI Signed-off-by: Sagaert Johan --- v2: Changed License to BSD-2 v3: removed QDECODER_CONF_OPT and created makefile.in patch v4: renamed the patch to qdecoder-0001-install-header-and-lib-in-staging-directory.patch v5: -added !BR2_PREFER_STATIC_LIB dependency. -changed Config.in help link to http://wolkykim.github.io/qdecoder package/Config.in | 1 + package/qdecoder/Config.in | 8 +++++++ ...stall-header-and-lib-in-staging-directory.patch | 28 ++++++++++++++++++++++ package/qdecoder/qdecoder.mk | 14 +++++++++++ 4 files changed, 51 insertions(+) create mode 100644 package/qdecoder/Config.in create mode 100644 package/qdecoder/qdecoder-0001-install-header-and-lib-in-staging-directory.patch create mode 100644 package/qdecoder/qdecoder.mk diff --git a/package/Config.in b/package/Config.in index 7800f23..2da27ce 100644 --- a/package/Config.in +++ b/package/Config.in @@ -755,6 +755,7 @@ source "package/nss-mdns/Config.in" source "package/omniorb/Config.in" source "package/openpgm/Config.in" source "package/ortp/Config.in" +source "package/qdecoder/Config.in" source "package/rtmpdump/Config.in" source "package/slirp/Config.in" source "package/snmppp/Config.in" diff --git a/package/qdecoder/Config.in b/package/qdecoder/Config.in new file mode 100644 index 0000000..edc4d34 --- /dev/null +++ b/package/qdecoder/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_QDECODER + bool "qdecoder" + depends on !BR2_PREFER_STATIC_LIB + help + qDecoder is a simple and powerful CGI library + for the C/C++ programming language. + + http://wolkykim.github.io/qdecoder diff --git a/package/qdecoder/qdecoder-0001-install-header-and-lib-in-staging-directory.patch b/package/qdecoder/qdecoder-0001-install-header-and-lib-in-staging-directory.patch new file mode 100644 index 0000000..c044b6d --- /dev/null +++ b/package/qdecoder/qdecoder-0001-install-header-and-lib-in-staging-directory.patch @@ -0,0 +1,28 @@ +From 75e16fd73af6b2f8c0149dacb9c7be7e7123b449 Mon Sep 17 00:00:00 2001 +From: Sagaert Johan +Date: Sat, 26 Apr 2014 19:05:55 +0200 +Subject: [PATCH 1/1] install header and lib in staging directory + +Signed-off-by: Sagaert Johan +--- + src/Makefile.in | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/Makefile.in b/src/Makefile.in +index 2688038..b2bf836 100644 +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -43,8 +43,8 @@ SLIBNAME = lib${PRGNAME}.so + SLIBREALNAME = ${SLIBNAME}.${SLIBVERSION} + + ## System library directory +-LIBDIR = @libdir@ +-HEADERDIR = @includedir@ ++LIBDIR = $(STAGING_DIR)/usr/lib ++HEADERDIR =$(STAGING_DIR)/usr/include + + ## Which compiler & options for release + CC = @CC@ +-- +1.9.2 + diff --git a/package/qdecoder/qdecoder.mk b/package/qdecoder/qdecoder.mk new file mode 100644 index 0000000..506d975 --- /dev/null +++ b/package/qdecoder/qdecoder.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# qdecoder +# +################################################################################ + +QDECODER_VERSION = r12.0.5 +QDECODER_SITE = $(call github,wolkykim,qdecoder,$(QDECODER_VERSION)) +QDECODER_LICENSE = BSD-2 +QDECODER_LICENSE_FILES = COPYING + +QDECODER_INSTALL_STAGING = YES + +$(eval $(autotools-package))