This commit is contained in:
TriForceX
2019-09-25 20:51:37 -03:00
commit 6203ff3e7c
11215 changed files with 428258 additions and 0 deletions

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

@@ -0,0 +1,26 @@
config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
bool
default y
# libbsd does not support those architectures (see src/local-elf.h)
depends on !BR2_microblaze
depends on !BR2_arc
depends on !BR2_xtensa
depends on !BR2_nds32
config BR2_PACKAGE_LIBBSD
bool "libbsd"
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_WCHAR
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/
comment "libbsd needs a toolchain w/ threads, wchar"
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR

View File

@@ -0,0 +1,3 @@
# From https://lists.freedesktop.org/archives/libbsd/2019-August/000229.html
sha256 34b8adc726883d0e85b3118fa13605e179a62b31ba51f676136ecb2d0bc1a887 libbsd-0.10.0.tar.xz
sha256 933d14a6bc89ee1fd7adbf5b6ec97f6ff0e002549d0b0c164f8a8895371d78f8 COPYING

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

@@ -0,0 +1,15 @@
################################################################################
#
# libbsd
#
################################################################################
LIBBSD_VERSION = 0.10.0
LIBBSD_SOURCE = libbsd-$(LIBBSD_VERSION).tar.xz
LIBBSD_SITE = https://libbsd.freedesktop.org/releases
LIBBSD_LICENSE = BSD-2-Clause, BSD-3-Clause, BSD-4-Clause, BSD-5-Clause, \
MIT, ISC, Beerware
LIBBSD_LICENSE_FILES = COPYING
LIBBSD_INSTALL_STAGING = YES
$(eval $(autotools-package))