blob: 5c958f950e6e8e215b99500845eacef23f42b4a1 [file] [log] [blame]
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00001# Copyright (C) 2013 Khem Raj <raj.khem@gmail.com>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4SUMMARY = "Library of utility functions from BSD systems"
5DESCRIPTION = "This library provides useful functions commonly found on BSD systems, \
6 and lacking on others like GNU systems, thus making it easier to port \
7 projects with strong BSD origins, without needing to embed the same \
8 code over and over again on each project."
9
10HOMEPAGE = "https://libbsd.freedesktop.org/wiki/"
11# There seems to be more licenses used in the code, I don't think we want to list them all here, complete list:
12# OE @ ~/projects/libbsd $ grep ^License: COPYING | sort -u
13# License: BSD-2-clause
14# License: BSD-2-clause-NetBSD
15# License: BSD-2-clause-author
16# License: BSD-2-clause-verbatim
17# License: BSD-3-clause
18# License: BSD-3-clause-author
19# License: BSD-3-clause-John-Birrell
20# License: BSD-3-clause-Regents
21# License: BSD-4-clause-Christopher-G-Demetriou
22# License: BSD-4-clause-Niels-Provos
23# License: BSD-5-clause-Peter-Wemm
24# License: Beerware
25# License: Expat
26# License: ISC
27# License: ISC-Original
28# License: public-domain
29# License: public-domain-Colin-Plumb
30LICENSE = "BSD-3-Clause & BSD-4-Clause & ISC & PD"
31LICENSE:${PN} = "BSD-3-Clause & ISC & PD"
Andrew Geissler028142b2023-05-05 11:29:21 -050032LICENSE:${PN}-dbg = "BSD-3-Clause & ISC & PD"
33LICENSE:${PN}-dev = "BSD-3-Clause & ISC & PD"
34LICENSE:${PN}-doc = "BSD-3-Clause & BSD-4-Clause & ISC & PD"
35LICENSE:${PN}-locale = "BSD-3-Clause & ISC & PD"
36LICENSE:${PN}-src = "BSD-3-Clause & ISC & PD"
37LICENSE:${PN}-staticdev = "BSD-3-Clause & ISC & PD"
38
Patrick Williams7784c422022-11-17 07:29:11 -060039LIC_FILES_CHKSUM = "file://COPYING;md5=75e85c5a558f86d10fbd5abc567ea5e6"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000040SECTION = "libs"
41
Andrew Geissler517393d2023-01-13 08:55:19 -060042SRC_URI = "https://libbsd.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
43 file://0001-funopen-Replace-off64_t-with-off_t-in-funopen_seek.patch \
44 "
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000045
Patrick Williams7784c422022-11-17 07:29:11 -060046SRC_URI[sha256sum] = "9baa186059ebbf25c06308e9f991fda31f7183c0f24931826d83aa6abd8a0261"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000047
48inherit autotools pkgconfig
49
50DEPENDS += "libmd"
51
52BBCLASSEXTEND = "native nativesdk"