blob: f02a731f850ed22eaf7224036807eda4d22f6564 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001SUMMARY = "New GNU Portable Threads library"
Andrew Geissler90fd73c2021-03-05 15:25:55 -06002DESCRIPTION = "nPth is a library to provide the GNU Pth API and thus a non-preemptive threads implementation. "
Andrew Geissler6ce62a22020-11-30 19:58:47 -06003HOMEPAGE = "https://www.gnu.org/software/pth/"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08004SECTION = "libs"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00005LICENSE = "LGPL-2.0-or-later"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08006LIC_FILES_CHKSUM = "\
7 file://COPYING.LIB;md5=2caced0b25dfefd4c601d92bd15116de\
8 "
9UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
10SRC_URI = "${GNUPG_MIRROR}/npth/npth-${PV}.tar.bz2 \
11 file://pkgconfig.patch \
Patrick Williams44b3caf2024-04-12 16:51:14 -050012 file://musl-fix.patch \
13 "
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080014
Patrick Williams44b3caf2024-04-12 16:51:14 -050015SRC_URI[sha256sum] = "8589f56937b75ce33b28d312fccbf302b3b71ec3f3945fde6aaa74027914ad05"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080016
Andrew Geissler6ce62a22020-11-30 19:58:47 -060017inherit autotools binconfig-disabled multilib_header
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080018
Patrick Williams213cb262021-08-07 19:21:33 -050019FILES:${PN} = "${libdir}/libnpth.so.*"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080020
Patrick Williams213cb262021-08-07 19:21:33 -050021do_install:append() {
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080022 oe_multilib_header npth.h
23}
24
Brad Bishop1d80a2e2019-11-15 16:35:03 -050025BBCLASSEXTEND = "native nativesdk"