xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-support/npth/npth_1.6.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "New GNU Portable Threads library"
2DESCRIPTION = "nPth is a library to provide the GNU Pth API and thus a non-preemptive threads implementation. "
3HOMEPAGE = "https://www.gnu.org/software/pth/"
4SECTION = "libs"
5LICENSE = "LGPL-2.0-or-later"
6LIC_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 \
12           file://0001-Revert-Fix-problem-with-regression-tests-on-recent-g.patch \
13          "
14
15SRC_URI[md5sum] = "375d1a15ad969f32d25f1a7630929854"
16SRC_URI[sha256sum] = "1393abd9adcf0762d34798dc34fdcf4d0d22a8410721e76f1e3afcd1daa4e2d1"
17
18BINCONFIG = "${bindir}/npth-config"
19
20inherit autotools binconfig-disabled multilib_header
21
22FILES:${PN} = "${libdir}/libnpth.so.*"
23FILES:${PN}-dev += "${bindir}/npth-config"
24
25do_install:append() {
26    oe_multilib_header npth.h
27}
28
29BBCLASSEXTEND = "native nativesdk"
30