From patchwork Thu Jan 12 13:40:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 714465 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tzn2y0w1yz9vDh for ; Fri, 13 Jan 2017 00:40:58 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=embedded.rocks header.i=@embedded.rocks header.b="oP4L4Bww"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id A6C6886ADF; Thu, 12 Jan 2017 13:40:55 +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 wHHF9Izo3D9g; Thu, 12 Jan 2017 13:40:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id BA56786A68; Thu, 12 Jan 2017 13:40:53 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 938871C2262 for ; Thu, 12 Jan 2017 13:40:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8FA4488C7E for ; Thu, 12 Jan 2017 13:40:49 +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 fCQcC2NTfdxX for ; Thu, 12 Jan 2017 13:40:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.142]) by hemlock.osuosl.org (Postfix) with ESMTPS id C08ED8754B for ; Thu, 12 Jan 2017 13:40:45 +0000 (UTC) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3tzn2f3W86zyZC for ; Thu, 12 Jan 2017 14:40:42 +0100 (CET) Authentication-Results: mail.embedded.rocks (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=embedded.rocks DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded.rocks; h=content-transfer-encoding:content-type:content-type :mime-version:x-mailer:message-id:date:date:subject:subject:from :from:received:received; s=default; t=1484228441; x=1484833242; bh=Uso32Tqqq20EBqTEWJOX997PBYDmYZTg6qTBN7cirSo=; b=oP4L4Bww2dNk Sr6dZ0k8JPidILuKjBJPgzvrLy3mKmf6OVQyhWtxWb3bKxPZxSzRY2ybOnkqMEUH t5tZOuawYKUV7mrBC5I3qdH+SI1b3jt4F8u3kXXOp+bjgzoUYE1izU6yIkfVzLF7 EERPpqf3+lWDm1421dlPMz4vYZ1TToy+fLG1AHe3n+85vczQtWQlQVan3ExqA2SU tlIkzuQBinbL1Z4NX0ZyFv2dT3XZ4Pu8daYqFDVGy8iOBy/7Lmrff7DMWkRlTpuB Oj+il5SXsycneCm5rl1yexTCGA6KTAZnGd0Co4QnzMU6RH+Yw/vQXYwWnPGydHwm 8vLaiR9A9Q== Received: from mail.embedded.rocks ([127.0.0.1]) by localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id t793QOOfs0DF; Thu, 12 Jan 2017 14:40:41 +0100 (CET) Received: from nzxt.fritz.box (xd9ba6c09.dyn.telefonica.de [217.186.108.9]) (Authenticated sender: joerg.krause@embedded.rocks) by mail.embedded.rocks (Postfix) with ESMTPSA; Thu, 12 Jan 2017 14:40:41 +0100 (CET) From: =?UTF-8?q?J=C3=B6rg=20Krause?= To: buildroot@buildroot.org Date: Thu, 12 Jan 2017 14:40:33 +0100 Message-Id: <20170112134034.29031-1-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/2] bctoolbox: new 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" bctoolbox is a utilities library used by Belledonne Communications softwares like belle-sip, mediastreamer2 and linphone. Signed-off-by: Jörg Krause --- package/Config.in | 1 + package/bctoolbox/Config.in | 8 ++++++++ package/bctoolbox/bctoolbox.hash | 2 ++ package/bctoolbox/bctoolbox.mk | 30 ++++++++++++++++++++++++++++++ 4 files changed, 41 insertions(+) create mode 100644 package/bctoolbox/Config.in create mode 100644 package/bctoolbox/bctoolbox.hash create mode 100644 package/bctoolbox/bctoolbox.mk diff --git a/package/Config.in b/package/Config.in index 8c8c33ec3..9609e9740 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1289,6 +1289,7 @@ menu "Other" source "package/argp-standalone/Config.in" source "package/armadillo/Config.in" source "package/atf/Config.in" + source "package/bctoolbox/Config.in" source "package/bdwgc/Config.in" source "package/boost/Config.in" source "package/clapack/Config.in" diff --git a/package/bctoolbox/Config.in b/package/bctoolbox/Config.in new file mode 100644 index 000000000..09165cd8d --- /dev/null +++ b/package/bctoolbox/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_BCTOOLBOX + bool "bctoolbox" + select BR2_PACKAGE_MBEDTLS + help + Utilities library used by Belledonne Communications softwares like + belle-sip, mediastreamer2 and linphone. + + https://github.com/BelledonneCommunications/bctoolbox diff --git a/package/bctoolbox/bctoolbox.hash b/package/bctoolbox/bctoolbox.hash new file mode 100644 index 000000000..70be55c3d --- /dev/null +++ b/package/bctoolbox/bctoolbox.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 da7df7ff359a9829e9e6ef98dfe9fead0cf735b8a4a5da1b1047f467dee1b2a9 bctoolbox-0.4.0.tar.gz diff --git a/package/bctoolbox/bctoolbox.mk b/package/bctoolbox/bctoolbox.mk new file mode 100644 index 000000000..a5b75a468 --- /dev/null +++ b/package/bctoolbox/bctoolbox.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# bctoolbox +# +################################################################################ + +BCTOOLBOX_VERSION = 0.4.0 +BCTOOLBOX_SITE = $(call github,BelledonneCommunications,bctoolbox,$(BCTOOLBOX_VERSION)) +BCTOOLBOX_LICENSE = GPLv2+ +BCTOOLBOX_LICENSE_FILES = COPYING +BCTOOLBOX_DEPENDENCIES = mbedtls +BCTOOLBOX_INSTALL_STAGING = YES + +BCTOOLBOX_CONF_OPTS = \ + -DENABLE_STRICT=OFF \ + -DENABLE_TESTS_COMPONENT=OFF \ + -DENABLE_TESTS=OFF + +ifeq ($(BR2_STATIC_LIBS),y) +BCTOOLBOX_CONF_OPTS += \ + -DENABLE_SHARED=OFF -DENABLE_STATIC=ON +else ifeq ($(BR2_SHARED_STATIC_LIBS),y) +BCTOOLBOX_CONF_OPTS += \ + -DENABLE_SHARED=ON -DENABLE_STATIC=ON +else ifeq ($(BR2_SHARED_LIBS),y) +BCTOOLBOX_CONF_OPTS += \ + -DENABLE_SHARED=ON -DENABLE_STATIC=OFF +endif + +$(eval $(cmake-package))