From patchwork Mon Dec 10 23:44:41 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 205075 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 446952C00F8 for ; Tue, 11 Dec 2012 10:48:28 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id DB275A0163; Mon, 10 Dec 2012 23:48:26 +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 d+dvR+KRy8Ln; Mon, 10 Dec 2012 23:48:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 536DFA016E; Mon, 10 Dec 2012 23:47:28 +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 7E8C08F74B for ; Mon, 10 Dec 2012 23:46:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0BAD28B10D for ; Mon, 10 Dec 2012 23:46:26 +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 lBrSpnVDaMtU for ; Mon, 10 Dec 2012 23:46:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) by whitealder.osuosl.org (Postfix) with ESMTPS id 680328AADC for ; Mon, 10 Dec 2012 23:45:43 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id ds1so1036286wgb.4 for ; Mon, 10 Dec 2012 15:45:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=rOmZDUICdpFsurTjfZZQ8s6CDEkJ7x/GH4cnzgLfYOE=; b=Anzq7alXKLbc2Gbo+QUUMzrvISM2SWLOP1FHkRpIUP9UfLLGOdi/uooKw4jlRekgIn iOqqQMJyGz3APkpO4mc45Y9SN9x2L22Cr7k/ZJKYgSEi0ktAsYkvSHPYwslW24oPER5V I5+LMBLRCd1QiTOyJn6gePXSpDZuF+E1x4wCyZa+ao+rCJxmDHaWkfqTyXXvdfXk/als xtvjmoA+fmfxLiWpCT+z1nbg2DoLc2VeqlVCFxrEIoSAkRYKbL7oNxhvDiS/CvMp1tIs klfWKs3Fd5XyhdJGSrQxzAgi2N8lcbLYktgiFMX1idp+V0u8T2n4VgaOVssIUMtgu3JY j7Zg== Received: by 10.180.81.232 with SMTP id d8mr13678301wiy.14.1355183141774; Mon, 10 Dec 2012 15:45:41 -0800 (PST) Received: from localhost.localdomain (ARennes-256-1-41-119.w90-32.abo.wanadoo.fr. [90.32.24.119]) by mx.google.com with ESMTPS id bz12sm13895257wib.5.2012.12.10.15.45.40 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 10 Dec 2012 15:45:41 -0800 (PST) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Tue, 11 Dec 2012 00:44:41 +0100 Message-Id: <1355183112-10735-22-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1355183112-10735-1-git-send-email-yann.morin.1998@free.fr> References: <1355183112-10735-1-git-send-email-yann.morin.1998@free.fr> Cc: Thomas Petazzoni , "Yann E. MORIN" Subject: [Buildroot] [PATCH 21/52] package/libbsd: 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: "Yann E. MORIN" Cc: Thomas Petazzoni --- package/Config.in | 1 + package/libbsd/Config.in | 10 ++++++++++ package/libbsd/libbsd.mk | 21 +++++++++++++++++++++ 3 files changed, 32 insertions(+), 0 deletions(-) create mode 100644 package/libbsd/Config.in create mode 100644 package/libbsd/libbsd.mk diff --git a/package/Config.in b/package/Config.in index c90fcd8..e016378 100644 --- a/package/Config.in +++ b/package/Config.in @@ -508,6 +508,7 @@ source "package/libargtable2/Config.in" source "package/argp-standalone/Config.in" source "package/boost/Config.in" source "package/libatomic_ops/Config.in" +source "package/libbsd/Config.in" source "package/libcap/Config.in" source "package/libcap-ng/Config.in" source "package/libdaemon/Config.in" diff --git a/package/libbsd/Config.in b/package/libbsd/Config.in new file mode 100644 index 0000000..7f2b55a --- /dev/null +++ b/package/libbsd/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_LIBBSD + bool "libbsd" + help + This library provides useful functions commonly found on BSD + systems, and lacking on others like GNU systems, thus making + it easier to port projects with strong BSD origins, without + needing to embed the same code over and over again on each + project. + + http://libbsd.freedesktop.org/ diff --git a/package/libbsd/libbsd.mk b/package/libbsd/libbsd.mk new file mode 100644 index 0000000..3af1002 --- /dev/null +++ b/package/libbsd/libbsd.mk @@ -0,0 +1,21 @@ +############################################################# +# +# libbsd +# +############################################################# + +LIBBSD_VERSION = 0.4.2 +LIBBSD_SOURCE = libbsd-$(LIBBSD_VERSION).tar.gz +LIBBSD_SITE = http://libbsd.freedesktop.org/releases +LIBBSD_LICENSE = BSD-3c MIT +LIBBSD_LICENSE_FILES = LICENSE + +# man-pages are BSD-4c, so that license only matters +# if doc is kept in the target rootfs +ifeq ($(BR2_HAVE_DOCUMENTATION),y) +LIBBSD_LICENSE += (libraries), BSD-4c (documentation) +endif + +LIBBSD_INSTALL_STAGING = YES + +$(eval $(autotools-package))