summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/npth/npth_1.7.bb
blob: 0cf35565a3616c1df963b1adf11be24917589e05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SUMMARY = "New GNU Portable Threads library"
DESCRIPTION = "nPth is a library to provide the GNU Pth API and thus a non-preemptive threads implementation. "
HOMEPAGE = "https://gnupg.org/software/npth/"
SECTION = "libs"
LICENSE = "LGPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2caced0b25dfefd4c601d92bd15116de"
UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"

SRC_URI = "${GNUPG_MIRROR}/npth/npth-${PV}.tar.bz2 \
           file://musl-fix.patch \
           "

SRC_URI[sha256sum] = "8589f56937b75ce33b28d312fccbf302b3b71ec3f3945fde6aaa74027914ad05"

inherit autotools multilib_header

do_install:append() {
    oe_multilib_header npth.h
}

BBCLASSEXTEND = "native nativesdk"