libbsd: Add recipes for libbsd - utility functions from BSD systems
authorKhem Raj <raj.khem@gmail.com>
Mon, 24 Jun 2013 03:10:05 +0000 (20:10 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Jun 2013 16:44:56 +0000 (17:44 +0100)
When building BSD programs this library provides common
BSD functions that are missing on other OSes e.g. Linux

This library is elemental for porting large set of BSD applications
current consumer of this are in meta-networking/openbsd-netcat
but once we have it in OE-Core more recipes depending on it in different layers
can be added.

(From OE-Core rev: 2df53911f25234d2724bc8163ac9406af0bdad06)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/libbsd/libbsd_0.5.2.bb [new file with mode: 0644]

diff --git a/meta/recipes-support/libbsd/libbsd_0.5.2.bb b/meta/recipes-support/libbsd/libbsd_0.5.2.bb
new file mode 100644 (file)
index 0000000..952f212
--- /dev/null
@@ -0,0 +1,19 @@
+# Copyright (C) 2013 Khem Raj <raj.khem@gmail.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "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."
+
+HOMEPAGE = "http://libbsd.freedesktop.org/wiki/"
+LICENSE = "BSD-4-Clause & MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=98a015f07e71239b058398054f506f07"
+SECTION = "libs"
+DEPENDS = ""
+
+SRC_URI = "http://libbsd.freedesktop.org/releases/${BPN}-${PV}.tar.xz"
+SRC_URI[md5sum] = "be8b2e0dc4614699834c49693574fd1a"
+SRC_URI[sha256sum] = "5340cf67555a8d92e7652d96540a47986a26eeafb9a0a3e22d3b3e5701ebe23f"
+
+inherit autotools pkgconfig