From patchwork Wed Oct 15 20:47:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastien Bourdelin X-Patchwork-Id: 400085 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 7802D14010F for ; Thu, 16 Oct 2014 07:41:49 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9242291A79; Wed, 15 Oct 2014 20:41:48 +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 ZakO5fGk4UxH; Wed, 15 Oct 2014 20:41:46 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id C698C91A36; Wed, 15 Oct 2014 20:41:46 +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 19C761C2444 for ; Wed, 15 Oct 2014 20:41:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 146C091A2F for ; Wed, 15 Oct 2014 20:41:45 +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 3Dl9nVMyWnER for ; Wed, 15 Oct 2014 20:41:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.savoirfairelinux.com (mail.savoirfairelinux.com [209.172.62.77]) by whitealder.osuosl.org (Postfix) with ESMTP id D131C91A22 for ; Wed, 15 Oct 2014 20:41:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id 539D9C96009 for ; Wed, 15 Oct 2014 16:41:43 -0400 (EDT) X-Virus-Scanned: amavisd-new at mail.savoirfairelinux.com Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WeeJWHWLiQic; Wed, 15 Oct 2014 16:41:42 -0400 (EDT) Received: from localhost (mtl.savoirfairelinux.net [208.88.110.46]) by mail.savoirfairelinux.com (Postfix) with ESMTPSA id 1E366C96006; Wed, 15 Oct 2014 16:41:42 -0400 (EDT) From: Sebastien Bourdelin To: buildroot@busybox.net Date: Wed, 15 Oct 2014 16:47:33 -0400 Message-Id: <1413406053-22668-1-git-send-email-sebastien.bourdelin@savoirfairelinux.com> X-Mailer: git-send-email 1.8.3.4 Cc: jerome.oufella@savoirfairelinux.com Subject: [Buildroot] [PATCH 1/1] yaml-cpp: Added 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" yaml-cpp is a YAML parser and emitter in C++ matching the YAML 1.2 spec. https://code.google.com/p/yaml-cpp/ Signed-off-by: Sebastien Bourdelin --- package/Config.in | 1 + package/yaml-cpp/Config.in | 14 ++++++++++++++ package/yaml-cpp/yaml-cpp.hash | 5 +++++ package/yaml-cpp/yaml-cpp.mk | 14 ++++++++++++++ 4 files changed, 34 insertions(+) create mode 100644 package/yaml-cpp/Config.in create mode 100644 package/yaml-cpp/yaml-cpp.hash create mode 100644 package/yaml-cpp/yaml-cpp.mk diff --git a/package/Config.in b/package/Config.in index 93e148d..40a1b1c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -898,6 +898,7 @@ menu "Other" source "package/startup-notification/Config.in" source "package/tz/Config.in" source "package/tzdata/Config.in" + source "package/yaml-cpp/Config.in" endmenu menu "Security" diff --git a/package/yaml-cpp/Config.in b/package/yaml-cpp/Config.in new file mode 100644 index 0000000..fcfd60f --- /dev/null +++ b/package/yaml-cpp/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_YAML_CPP + bool "yaml-cpp" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_LARGEFILE + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_BOOST + help + yaml-cpp is a YAML parser and emitter in C++ matching + the YAML 1.2 spec. + + https://code.google.com/p/yaml-cpp/ + +comment "yaml-cpp needs a toolchain w/ C++, largefile, threads" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/yaml-cpp/yaml-cpp.hash b/package/yaml-cpp/yaml-cpp.hash new file mode 100644 index 0000000..391e317 --- /dev/null +++ b/package/yaml-cpp/yaml-cpp.hash @@ -0,0 +1,5 @@ +# hash from: https://yaml-cpp.googlecode.com/files/yaml-cpp-0.5.1.tar.gz: +sha1 9c5414b4090491e96d1b808fe8628b31e625fdaa yaml-cpp-0.5.1.tar.gz + +# Locally calculated: +sha256 3e7c9052b43d987d41819a203d97fc45de4eed3ec67e0fdb14265c3d11046f06 yaml-cpp-0.5.1.tar.gz diff --git a/package/yaml-cpp/yaml-cpp.mk b/package/yaml-cpp/yaml-cpp.mk new file mode 100644 index 0000000..324ea58 --- /dev/null +++ b/package/yaml-cpp/yaml-cpp.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# yaml-cpp +# +################################################################################ + +YAML_CPP_VERSION = yaml-cpp-0.5.1 +YAML_CPP_SOURCE = $(YAML_CPP_VERSION).tar.gz +YAML_CPP_SITE = https://yaml-cpp.googlecode.com/files +YAML_CPP_INSTALL_STAGING = YES +YAML_CPP_LICENSE = MIT +YAML_CPP_LICENSE_FILES = license.txt + +$(eval $(cmake-package))