From patchwork Thu Apr 11 14:41:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 235770 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 5689A2C00C0 for ; Fri, 12 Apr 2013 00:41:53 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C463231B49; Thu, 11 Apr 2013 14:41:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6ygDr-miG4+G; Thu, 11 Apr 2013 14:41:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 6EA5C31B46; Thu, 11 Apr 2013 14:41:49 +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 9EC968F74B for ; Thu, 11 Apr 2013 14:41:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 110EB8F7A6 for ; Thu, 11 Apr 2013 14: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 Z0i9-LohCiXQ for ; Thu, 11 Apr 2013 14:41:45 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [78.46.79.162]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4F26E8F7B4 for ; Thu, 11 Apr 2013 14:41:44 +0000 (UTC) Received: from asgard (host48.186-125-224.telecom.net.ar [186.125.224.48]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.6/8.14.6) with ESMTP id r3BEfb8o021136 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 11 Apr 2013 14:41:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1365691301; bh=dcBIaxlaoYLS9/8Bw3vRgSiE5nQeKUrEipwAwhNQv7M=; h=From:To:Cc:Subject:Date; b=VlVPuJ6zzgm4dD3abR5HIpcEoAsdYKVNEJeaL7f6D/d3kpFoWwsGRNo8aVt+42SMd 9rS5CdFDZocoNi3d948GVR59bziQNnlFdL2+womlnb3M9p90Ka78d/MOUnU1/90u+s Un0WNgDY95zRf6xIpxN3/KWCCscR6YbNi4HqGvDE= Received: by asgard (sSMTP sendmail emulation); Thu, 11 Apr 2013 11:41:36 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Thu, 11 Apr 2013 11:41:35 -0300 Message-Id: <1365691296-16042-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.8.1.5 X-Virus-Scanned: clamav-milter 0.97.7 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH 1/2] protobuf-c: 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 Signed-off-by: Gustavo Zacarias --- package/Config.in | 1 + package/protobuf-c/Config.in | 12 ++++++++++++ package/protobuf-c/protobuf-c.mk | 16 ++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 package/protobuf-c/Config.in create mode 100644 package/protobuf-c/protobuf-c.mk diff --git a/package/Config.in b/package/Config.in index 0537ffa..826310c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -585,6 +585,7 @@ source "package/mtdev2tuio/Config.in" source "package/orc/Config.in" source "package/poco/Config.in" source "package/protobuf/Config.in" +source "package/protobuf-c/Config.in" source "package/schifra/Config.in" source "package/startup-notification/Config.in" source "package/liblog4c-localtime/Config.in" diff --git a/package/protobuf-c/Config.in b/package/protobuf-c/Config.in new file mode 100644 index 0000000..9aff6e2 --- /dev/null +++ b/package/protobuf-c/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_PROTOBUF_C + bool "protobuf-c" + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_PROTOBUF + help + Code generator and runtime libraries to use Protocol Buffers + from pure C (not C++). + + http://code.google.com/p/protobuf-c/ + +comment "protobuf-c requires a toolchain with C++ support enabled" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/protobuf-c/protobuf-c.mk b/package/protobuf-c/protobuf-c.mk new file mode 100644 index 0000000..eb0047a --- /dev/null +++ b/package/protobuf-c/protobuf-c.mk @@ -0,0 +1,16 @@ +############################################################# +# +# protobuf-c +# +############################################################# + +PROTOBUF_C_VERSION = 0.15 +PROTOBUF_C_SITE = http://protobuf-c.googlecode.com/files +PROTOBUF_C_DEPENDENCIES = protobuf host-protobuf-c +HOST_PROTOBUF_C_DEPENDENCIES = host-protobuf +PROTOBUF_C_CONF_OPT = --disable-protoc +PROTOBUF_C_INSTALL_STAGING = YES +PROTOBUF_C_LICENSE = BSD-3c + +$(eval $(autotools-package)) +$(eval $(host-autotools-package))