blob: 88484acec3a136fe7dfe89e52be3bb663b6b698f [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001SUMMARY = "New GNU Portable Threads library"
Andrew Geissler6ce62a22020-11-30 19:58:47 -06002HOMEPAGE = "https://www.gnu.org/software/pth/"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08003SECTION = "libs"
4LICENSE = "LGPLv2+"
5LIC_FILES_CHKSUM = "\
6 file://COPYING.LIB;md5=2caced0b25dfefd4c601d92bd15116de\
7 "
8UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
9SRC_URI = "${GNUPG_MIRROR}/npth/npth-${PV}.tar.bz2 \
10 file://pkgconfig.patch \
11 "
12
13SRC_URI[md5sum] = "375d1a15ad969f32d25f1a7630929854"
14SRC_URI[sha256sum] = "1393abd9adcf0762d34798dc34fdcf4d0d22a8410721e76f1e3afcd1daa4e2d1"
15
16BINCONFIG = "${bindir}/npth-config"
17
Andrew Geissler6ce62a22020-11-30 19:58:47 -060018inherit autotools binconfig-disabled multilib_header
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080019
20FILES_${PN} = "${libdir}/libnpth.so.*"
21FILES_${PN}-dev += "${bindir}/npth-config"
22
23do_install_append() {
24 oe_multilib_header npth.h
25}
26
Brad Bishop1d80a2e2019-11-15 16:35:03 -050027BBCLASSEXTEND = "native nativesdk"