From patchwork Wed Mar 19 21:54:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yegor Yefremov X-Patchwork-Id: 331896 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 872162C0096 for ; Thu, 20 Mar 2014 08:55:16 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id B75AE31D01; Wed, 19 Mar 2014 21:55:15 +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 SzC6OoXzerbd; Wed, 19 Mar 2014 21:55:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 1058632FDD; Wed, 19 Mar 2014 21:55:14 +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 012B21BF856 for ; Wed, 19 Mar 2014 21:55:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id F1D678B88F for ; Wed, 19 Mar 2014 21:55:12 +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 j0f2hUTOvbly for ; Wed, 19 Mar 2014 21:55:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) by whitealder.osuosl.org (Postfix) with ESMTPS id 683018B4F3 for ; Wed, 19 Mar 2014 21:55:11 +0000 (UTC) Received: by mail-bk0-f53.google.com with SMTP id r7so5720bkg.26 for ; Wed, 19 Mar 2014 14:55:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=vQT+8UCUQq5mpPNGZAZCtsXaLV0pVf+oOe2DhaS1v5s=; b=GE/LBp+GNe+krgjBnN/x9rvmmOOo89rzZlJmEeVIm011r7ZEz34Auff8qZLwR5d1c2 w7+5uSLyVY3RZWcj0f/V/q0xo/wz+Ik6KbCB75DNachRZPnmfO+6WpkaMJmeGJVHnsXa O6CPa/beapzDZEflup8FmX4uQJM9XUREUXKaN7DOBspkjqkXoOW4jG3lqsfGmSeIqiue DNPfsa5nnQGAMjGbBcdk0WN+N/7LXtb9fVlKcHcumdBTVKCJUbsMttOmfFDYdTqvS2BK cYZaQjS+hn/QrzAn7rg/JfuC+jjPL5sC9v/yd2oRQBueVdI/eC9dKyT7eK/oVbRl9+/r 3Glg== X-Received: by 10.204.168.206 with SMTP id v14mr21579021bky.26.1395266109653; Wed, 19 Mar 2014 14:55:09 -0700 (PDT) Received: from user-Lenovo-IdeaPad-Z500.localdomain (x2f00542.dyn.telefonica.de. [2.240.5.66]) by mx.google.com with ESMTPSA id ci7sm189800bkc.0.2014.03.19.14.55.07 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Mar 2014 14:55:08 -0700 (PDT) From: Yegor Yefremov To: buildroot@busybox.net Date: Wed, 19 Mar 2014 22:54:55 +0100 Message-Id: <1395266096-7649-1-git-send-email-yegorslists@googlemail.com> X-Mailer: git-send-email 1.8.3.2 Subject: [Buildroot] [PATCH v4 1/2] libubox: 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: Yegor Yefremov --- Changes: v4: remove unneeded pkg-config macros v3: add Lua support v2: make package description more informative and fix license information package/Config.in | 1 + package/libubox/Config.in | 7 +++++++ package/libubox/libubox.mk | 18 ++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 package/libubox/Config.in create mode 100644 package/libubox/libubox.mk diff --git a/package/Config.in b/package/Config.in index f9c1b0b..a2e859c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -784,6 +784,7 @@ source "package/libsigc/Config.in" source "package/libsigsegv/Config.in" source "package/libtasn1/Config.in" source "package/libtpl/Config.in" +source "package/libubox/Config.in" source "package/libunwind/Config.in" source "package/liburcu/Config.in" source "package/linux-pam/Config.in" diff --git a/package/libubox/Config.in b/package/libubox/Config.in new file mode 100644 index 0000000..3fa78cf --- /dev/null +++ b/package/libubox/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_LIBUBOX + bool "libubox" + help + Small utility library for OpenWrt. It is a dependency of + libuci, that manages configuration files infrastructure. + + http://nbd.name/gitweb.cgi?p=luci2/libubox.git;a=summary diff --git a/package/libubox/libubox.mk b/package/libubox/libubox.mk new file mode 100644 index 0000000..fe3f420 --- /dev/null +++ b/package/libubox/libubox.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# libubox +# +################################################################################ + +LIBUBOX_VERSION = bbd846ec2d72b2629758b69dc122ac0b0f2c3e4b +LIBUBOX_SITE = git://nbd.name/luci2/libubox.git +LIBUBOX_LICENSE = LGPLv2.1, GPLv2, BSD-3c, MIT +LIBUBOX_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_LUA),y) + LIBUBOX_DEPENDENCIES = lua +else + LIBUBOX_CONF_OPT = -DBUILD_LUA:BOOL=OFF +endif + +$(eval $(cmake-package))