xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-support/npth/npth_1.6.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "New GNU Portable Threads library"
2*4882a593SmuzhiyunDESCRIPTION = "nPth is a library to provide the GNU Pth API and thus a non-preemptive threads implementation. "
3*4882a593SmuzhiyunHOMEPAGE = "https://www.gnu.org/software/pth/"
4*4882a593SmuzhiyunSECTION = "libs"
5*4882a593SmuzhiyunLICENSE = "LGPL-2.0-or-later"
6*4882a593SmuzhiyunLIC_FILES_CHKSUM = "\
7*4882a593Smuzhiyun    file://COPYING.LIB;md5=2caced0b25dfefd4c601d92bd15116de\
8*4882a593Smuzhiyun    "
9*4882a593SmuzhiyunUPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
10*4882a593SmuzhiyunSRC_URI = "${GNUPG_MIRROR}/npth/npth-${PV}.tar.bz2 \
11*4882a593Smuzhiyun           file://pkgconfig.patch \
12*4882a593Smuzhiyun           file://0001-Revert-Fix-problem-with-regression-tests-on-recent-g.patch \
13*4882a593Smuzhiyun          "
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunSRC_URI[md5sum] = "375d1a15ad969f32d25f1a7630929854"
16*4882a593SmuzhiyunSRC_URI[sha256sum] = "1393abd9adcf0762d34798dc34fdcf4d0d22a8410721e76f1e3afcd1daa4e2d1"
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunBINCONFIG = "${bindir}/npth-config"
19*4882a593Smuzhiyun
20*4882a593Smuzhiyuninherit autotools binconfig-disabled multilib_header
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunFILES:${PN} = "${libdir}/libnpth.so.*"
23*4882a593SmuzhiyunFILES:${PN}-dev += "${bindir}/npth-config"
24*4882a593Smuzhiyun
25*4882a593Smuzhiyundo_install:append() {
26*4882a593Smuzhiyun    oe_multilib_header npth.h
27*4882a593Smuzhiyun}
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk"
30