diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 22:41:29 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 22:41:29 +0300 |
commit | 21f9b84b4b729fbd7acbd465e7a3f726e4d20f91 (patch) | |
tree | eb2d091d427ca0813b445509d59cc8e27e8ad25f /yocto-poky/meta/recipes-support/pth/pth_2.0.7.bb | |
parent | 101cef31e2bf54c678501155cd2106251acbd076 (diff) | |
parent | c124f4f2e04dca16a428a76c89677328bc7bf908 (diff) | |
download | openbmc-21f9b84b4b729fbd7acbd465e7a3f726e4d20f91.tar.xz |
Merge commit 'c124f4f2e04dca16a428a76c89677328bc7bf908' as 'yocto-poky'
Diffstat (limited to 'yocto-poky/meta/recipes-support/pth/pth_2.0.7.bb')
-rw-r--r-- | yocto-poky/meta/recipes-support/pth/pth_2.0.7.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/yocto-poky/meta/recipes-support/pth/pth_2.0.7.bb b/yocto-poky/meta/recipes-support/pth/pth_2.0.7.bb new file mode 100644 index 000000000..9037769b7 --- /dev/null +++ b/yocto-poky/meta/recipes-support/pth/pth_2.0.7.bb @@ -0,0 +1,31 @@ +SUMMARY = "GNU Portable Threads library" +HOMEPAGE = "http://www.gnu.org/software/pth/" +SECTION = "libs" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;beginline=12;endline=15;md5=a48af114a80c222cafd37f24370a77b1" +PR = "r3" + +python __anonymous () { + import re + uc_os = (re.match('.*uclibc*', d.getVar('TARGET_OS', True)) != None) + if uc_os: + raise bb.parse.SkipPackage("incompatible with uClibc") +} + +SRC_URI = "${GNU_MIRROR}/pth/pth-${PV}.tar.gz \ + file://pth-add-pkgconfig-support.patch \ + file://pth-fix-parallel.patch \ + " + +SRC_URI[md5sum] = "9cb4a25331a4c4db866a31cbe507c793" +SRC_URI[sha256sum] = "72353660c5a2caafd601b20e12e75d865fd88f6cf1a088b306a3963f0bc77232" + +BINCONFIG = "${bindir}/pth-config" + +inherit autotools binconfig-disabled pkgconfig + +do_configure() { + ( cd ${S}; gnu-configize ) + ( cd ${S}; autoconf ) + oe_runconf +} |