summaryrefslogtreecommitdiffstats
path: root/package/libbsd
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2013-05-09 12:22:55 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-05-12 22:06:56 +0200
commit4ae47d82649d38de6896270a6b6945d2467b7047 (patch)
treef2d4512a396584c25ee32ef010ca7a1f95fc6855 /package/libbsd
parent0af22c755b45d8b04ca148ff0b58e460c835e337 (diff)
downloadbuildroot-novena-4ae47d82649d38de6896270a6b6945d2467b7047.tar.gz
buildroot-novena-4ae47d82649d38de6896270a6b6945d2467b7047.zip
package/libbsd: new package
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Nathan Lynch <ntl@pobox.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libbsd')
-rw-r--r--package/libbsd/Config.in10
-rw-r--r--package/libbsd/libbsd.mk21
2 files changed, 31 insertions, 0 deletions
diff --git a/package/libbsd/Config.in b/package/libbsd/Config.in
new file mode 100644
index 000000000..0ed9dac9a
--- /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 000000000..3af1002d6
--- /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))