From patchwork Sat Apr 26 17:28:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sagaert Johan X-Patchwork-Id: 343090 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 5DCC214015E for ; Sun, 27 Apr 2014 04:13:37 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D8DD193325; Sat, 26 Apr 2014 18:13:36 +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 HPqK8J7++ccZ; Sat, 26 Apr 2014 18:13:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 2DE2B9331F; Sat, 26 Apr 2014 18:13:36 +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 6C21B1BF9D5 for ; Sat, 26 Apr 2014 18:13:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6614A8B8D4 for ; Sat, 26 Apr 2014 18:13:34 +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 RF+qhr6ImpFG for ; Sat, 26 Apr 2014 18:13:32 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailrelay002.isp.belgacom.be (mailrelay002.isp.belgacom.be [195.238.6.175]) by whitealder.osuosl.org (Postfix) with ESMTP id 5E4F78B6CF for ; Sat, 26 Apr 2014 18:13:32 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlkGAAr2W1Nbs320/2dsb2JhbABYgwZPvXyHOYEKF3SCJQFcIywDAQIdSxYhCYg8AQjJe4wxgigdghgPgXwElRsFg2yBOpEkgzM7 Received: from 180.125-179-91.adsl-dyn.isp.belgacom.be (HELO debian605.apex) ([91.179.125.180]) by relay.skynet.be with ESMTP; 26 Apr 2014 20:13:30 +0200 From: Sagaert Johan To: buildroot@busybox.net Date: Sat, 26 Apr 2014 19:28:25 +0200 Message-Id: <1398533305-12899-1-git-send-email-sagaert.johan@skynet.be> X-Mailer: git-send-email 1.9.2 Cc: Sagaert Johan Subject: [Buildroot] [PATCH 1/1] 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 qDecoder is a powerful CGI library. 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 ...stall-header-and-lib-in-staging-directory.patch | 28 ++++++++++++++++++++++ package/qdecoder/Config.in | 7 ++++++ package/qdecoder/qdecoder.mk | 14 +++++++++++ 3 files changed, 49 insertions(+) create mode 100644 package/qdecoder/0001-install-header-and-lib-in-staging-directory.patch create mode 100644 package/qdecoder/Config.in create mode 100644 package/qdecoder/qdecoder.mk diff --git a/package/qdecoder/0001-install-header-and-lib-in-staging-directory.patch b/package/qdecoder/0001-install-header-and-lib-in-staging-directory.patch new file mode 100644 index 0000000..c044b6d --- /dev/null +++ b/package/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/Config.in b/package/qdecoder/Config.in new file mode 100644 index 0000000..2bd2a2f --- /dev/null +++ b/package/qdecoder/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_QDECODER + bool "qdecoder" + help + qDecoder is a simple and powerful CGI library + for the C/C++ programming language. + + http://www.qdecoder.org/wiki/qdecoder diff --git a/package/qdecoder/qdecoder.mk b/package/qdecoder/qdecoder.mk new file mode 100644 index 0000000..30fbcb3 --- /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 = GPL +QDECODER_LICENSE_FILES = COPYING + +QDECODER_INSTALL_STAGING = YES + +$(eval $(autotools-package))