From patchwork Fri Sep 29 06:38:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Yegor Yefremov X-Patchwork-Id: 819831 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3y3Mrb5Mjyz9t2c for ; Fri, 29 Sep 2017 17:00:15 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 09FCD893F4; Fri, 29 Sep 2017 07:00:09 +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 t6oAbO3+O3X0; Fri, 29 Sep 2017 07:00:06 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 78D85893EB; Fri, 29 Sep 2017 07:00:06 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 25D651CEC6B for ; Fri, 29 Sep 2017 07:00:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1A6A7884FA for ; Fri, 29 Sep 2017 07:00:05 +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 HD9a8KBJvm7f for ; Fri, 29 Sep 2017 07:00:02 +0000 (UTC) X-Greylist: delayed 00:21:54 by SQLgrey-1.7.6 Received: from mail.visionsystems.de (mail.visionsystems.de [213.209.99.202]) by fraxinus.osuosl.org (Postfix) with ESMTP id CE72B88750 for ; Fri, 29 Sep 2017 07:00:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.visionsystems.de (Postfix) with ESMTP id BCDC13619A4 for ; Fri, 29 Sep 2017 08:38:07 +0200 (CEST) Received: from mail.visionsystems.de ([127.0.0.1]) by localhost (mail.visionsystems.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 15884-01 for ; Fri, 29 Sep 2017 08:38:07 +0200 (CEST) Received: from visionsystems.de (kallisto.visionsystems.local [192.168.1.3]) by mail.visionsystems.de (Postfix) with ESMTP id 8E624361250 for ; Fri, 29 Sep 2017 08:38:07 +0200 (CEST) Received: from [192.168.1.38] ([192.168.1.38]) by visionsystems.de with Microsoft SMTPSVC(6.0.3790.4675); Fri, 29 Sep 2017 08:38:06 +0200 To: buildroot@buildroot.org From: Yegor Yefremov Message-ID: Date: Fri, 29 Sep 2017 08:38:06 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.24) Gecko/20100228 Lightning/0.9 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666 MIME-Version: 1.0 Content-Language: en-US X-OriginalArrivalTime: 29 Sep 2017 06:38:06.0172 (UTC) FILETIME=[81E799C0:01D338ED] X-Virus-Scanned: amavisd-new at visionsystems.de Subject: [Buildroot] bacnet-stack: 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: , Reply-To: yegor_sub1@visionsystems.de Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Yegor Yefremov ---  DEVELOPERS                             |  1 +  package/Config.in                      |  1 +  package/bacnet-stack/Config.in         |  8 ++++++++  package/bacnet-stack/bacnet-stack.hash |  3 +++  package/bacnet-stack/bacnet-stack.mk   | 28 ++++++++++++++++++++++++++++  5 files changed, 41 insertions(+)  create mode 100644 package/bacnet-stack/Config.in  create mode 100644 package/bacnet-stack/bacnet-stack.hash  create mode 100644 package/bacnet-stack/bacnet-stack.mk -- 2.1.4 diff --git a/DEVELOPERS b/DEVELOPERS index e34802f..594fc88 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1844,6 +1844,7 @@ N:        Yegor Yefremov  F:     package/acl/  F:     package/attr/  F:     package/bluez_utils/ +F:     package/bacnet-stack/  F:     package/boost/  F:     package/bootstrap/  F:     package/cannelloni/ diff --git a/package/Config.in b/package/Config.in index 6acd0c4..3c5647f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1305,6 +1305,7 @@ menu "Networking"         source "package/alljoyn-tcl-base/Config.in"         source "package/azmq/Config.in"         source "package/azure-iot-sdk-c/Config.in" +       source "package/bacnet-stack/Config.in"         source "package/batman-adv/Config.in"         source "package/c-ares/Config.in"         source "package/canfestival/Config.in" diff --git a/package/bacnet-stack/Config.in b/package/bacnet-stack/Config.in new file mode 100644 index 0000000..bbbbc2d --- /dev/null +++ b/package/bacnet-stack/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_BACNET_STACK +       bool "bacnet-stack" +       help +         This BACnet library provides an application layer, network +         layer and MAC layer communications services for Win32, Linux, +         RTOS, or microcontroller. + +         http://bacnet.sourceforge.net/ diff --git a/package/bacnet-stack/bacnet-stack.hash b/package/bacnet-stack/bacnet-stack.hash new file mode 100644 index 0000000..824e5db --- /dev/null +++ b/package/bacnet-stack/bacnet-stack.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256  4b80e2909162082e6b0025319ff8b360472a0eee41593ef4fb40fbe27a098217  bacnet-stack-0.8.5.tgz +sha256  f123d969f4e4f9d235116fc943d931e33ea80c58e96b8de886f4d1259c2fb836  license/gpl-2.txt diff --git a/package/bacnet-stack/bacnet-stack.mk b/package/bacnet-stack/bacnet-stack.mk new file mode 100644 index 0000000..6ff5330 --- /dev/null +++ b/package/bacnet-stack/bacnet-stack.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# bacnet-stack +# +################################################################################ + +BACNET_STACK_VERSION = 0.8.5 +BACNET_STACK_SITE = https://sourceforge.net/projects/bacnet/files/bacnet-stack/bacnet-stack-$(BACNET_STACK_VERSION) +BACNET_STACK_SOURCE = bacnet-stack-$(BACNET_STACK_VERSION).tgz +BACNET_STACK_LICENSE = GPL-2.0+ with exception +BACNET_STACK_LICENSE_FILES = license/gpl-2.txt +BACNET_STACK_INSTALL_STAGING = YES +# bacnet-stack produced only a static library, +# so don't install no target installation is +# necessary +BACNET_STACK_INSTALL_TARGET = NO + +define BACNET_STACK_BUILD_CMDS +       $(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \ +               -C $(@D) all +endef + +define BACNET_STACK_INSTALL_STAGING_CMDS +       $(INSTALL) -m 0644 $(@D)/lib/libbacnet.a \ +               $(STAGING_DIR)/usr/lib/ +endef + +$(eval $(generic-package))