Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | SUMMARY = "New GNU Portable Threads library" |
Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 2 | DESCRIPTION = "nPth is a library to provide the GNU Pth API and thus a non-preemptive threads implementation. " |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 3 | HOMEPAGE = "https://www.gnu.org/software/pth/" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 4 | SECTION = "libs" |
| 5 | LICENSE = "LGPLv2+" |
| 6 | LIC_FILES_CHKSUM = "\ |
| 7 | file://COPYING.LIB;md5=2caced0b25dfefd4c601d92bd15116de\ |
| 8 | " |
| 9 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" |
| 10 | SRC_URI = "${GNUPG_MIRROR}/npth/npth-${PV}.tar.bz2 \ |
| 11 | file://pkgconfig.patch \ |
William A. Kennington III | ac69b48 | 2021-06-02 12:28:27 -0700 | [diff] [blame] | 12 | file://0001-Revert-Fix-problem-with-regression-tests-on-recent-g.patch \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 13 | " |
| 14 | |
| 15 | SRC_URI[md5sum] = "375d1a15ad969f32d25f1a7630929854" |
| 16 | SRC_URI[sha256sum] = "1393abd9adcf0762d34798dc34fdcf4d0d22a8410721e76f1e3afcd1daa4e2d1" |
| 17 | |
| 18 | BINCONFIG = "${bindir}/npth-config" |
| 19 | |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 20 | inherit autotools binconfig-disabled multilib_header |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 21 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 22 | FILES:${PN} = "${libdir}/libnpth.so.*" |
| 23 | FILES:${PN}-dev += "${bindir}/npth-config" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 24 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 25 | do_install:append() { |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 26 | oe_multilib_header npth.h |
| 27 | } |
| 28 | |
Brad Bishop | 1d80a2e | 2019-11-15 16:35:03 -0500 | [diff] [blame] | 29 | BBCLASSEXTEND = "native nativesdk" |