From patchwork Thu Jan 16 00:15:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 311502 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 138882C009C for ; Thu, 16 Jan 2014 11:16:38 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id EB3C28BDC5; Thu, 16 Jan 2014 00:16:31 +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 c5iPNUWlyjHL; Thu, 16 Jan 2014 00:16:27 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id DB1888BD98; Thu, 16 Jan 2014 00:16:26 +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 306721BF9A7 for ; Thu, 16 Jan 2014 00:16:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2B4EA8C870 for ; Thu, 16 Jan 2014 00:16:26 +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 ZuTnV2IxVffa for ; Thu, 16 Jan 2014 00:16:25 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f169.google.com (mail-we0-f169.google.com [74.125.82.169]) by whitealder.osuosl.org (Postfix) with ESMTPS id F367F8C827 for ; Thu, 16 Jan 2014 00:16:24 +0000 (UTC) Received: by mail-we0-f169.google.com with SMTP id u57so2552741wes.14 for ; Wed, 15 Jan 2014 16:16:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=a672ZyXu4w8SwaxQxg0dxspPD9+hQGyLnPo3rEFW798=; b=TOZDCN/uNNhOXLarj240S6dS99M44HzttzRnzKMYzZTFQS12eGf3r4CGEW/YlV2Bnp nqZZdihwc4Zcbvnw3IJycK3OvUInOnnQttwDjTvwHMWKuav6RWw1TA5zQPNG9edhovv+ Cn6tMH6MSc5LAMmK7hAYwtjoDztIsQoL8Qu2TPQD2nD4Eag8UmMFPFueZmsNmtI5VZhM RwxukjYEGY/tCND+arawBP6djitKNoDh0Vfy+VhwBvs9FQxPz349auBdPcKPAFmZ9ijT EeEmFfx4howzQP9Rmy4YJqcFklqFQ20zUp8yqNrQXVs6UMChZVL4TuwkhI5a2fZA/Czh ttsA== X-Received: by 10.194.61.84 with SMTP id n20mr5127919wjr.61.1389831383471; Wed, 15 Jan 2014 16:16:23 -0800 (PST) Received: from localhost (13-105-190-109.dsl.ovh.fr. [109.190.105.13]) by mx.google.com with ESMTPSA id f7sm4656306wjb.7.2014.01.15.16.16.22 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 15 Jan 2014 16:16:22 -0800 (PST) From: Maxime Hadjinlian To: buildroot@busybox.net Date: Thu, 16 Jan 2014 01:15:51 +0100 Message-Id: <1389831355-19983-9-git-send-email-maxime.hadjinlian@gmail.com> X-Mailer: git-send-email 1.8.5.2 In-Reply-To: <1389831355-19983-1-git-send-email-maxime.hadjinlian@gmail.com> References: <1389831355-19983-1-git-send-email-maxime.hadjinlian@gmail.com> Cc: gimli Subject: [Buildroot] [PATCH v2 08/12] tinyxml: 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 Tiny XML Parser. This package was originally found at : https://github.com/huceke/buildroot-rbp By gimli Signed-off-by: Maxime Hadjinlian Cc: gimli --- Changes v1 -> v2: - Fix header (Yann E. Morin) - Fix comment on toolchain option (Peter Korsgaard) --- package/Config.in | 1 + package/tinyxml/Config.in | 11 +++++++++++ package/tinyxml/tinyxml.mk | 15 +++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 package/tinyxml/Config.in create mode 100644 package/tinyxml/tinyxml.mk diff --git a/package/Config.in b/package/Config.in index 59a75cd..b5edacd 100644 --- a/package/Config.in +++ b/package/Config.in @@ -625,6 +625,7 @@ source "package/libxslt/Config.in" source "package/libyaml/Config.in" source "package/mxml/Config.in" source "package/rapidjson/Config.in" +source "package/tinyxml/Config.in" source "package/xerces/Config.in" source "package/yajl/Config.in" endmenu diff --git a/package/tinyxml/Config.in b/package/tinyxml/Config.in new file mode 100644 index 0000000..33d87ca --- /dev/null +++ b/package/tinyxml/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_TINYXML + bool "tinyxml" + depends on BR2_INSTALL_LIBSTDCPP + help + TinyXML is a simple, small, C++ XML parser that can be + easily integrating into other programs. + + https://github.com/leethomason/tinyxml2 + +comment "tinyxml needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/tinyxml/tinyxml.mk b/package/tinyxml/tinyxml.mk new file mode 100644 index 0000000..9622d36 --- /dev/null +++ b/package/tinyxml/tinyxml.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# tinyxml +# +################################################################################ + +TINYXML_VERSION = 2.6.2_2 +TINYXML_SITE = http://mirrors.xbmc.org/build-deps/sources +# AUTORECONF is needed because the XBMC's version of TinyXML contains a +# configure.ac which is not present in mainline. +TINYXML_AUTORECONF = YES +TINYXML_INSTALL_STAGING = YES +TINYXML_LICENSE = zlib + +$(eval $(autotools-package))