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>
This commit is contained in:
Yann E. MORIN 2013-05-09 12:22:55 +00:00 committed by Peter Korsgaard
parent 0af22c755b
commit 4ae47d8264
3 changed files with 32 additions and 0 deletions

View File

@ -578,6 +578,7 @@ source "package/gmp/Config.in"
source "package/gsl/Config.in"
source "package/gtest/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"

10
package/libbsd/Config.in Normal file
View File

@ -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/

21
package/libbsd/libbsd.mk Normal file
View File

@ -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))