1 DESCRIPTION = "GNU Portable Threads replacement with semaphore support"
4 LICENSE = "GPL LGPL FDL"
7 SRC_URI = "https://www.auto.tuwien.ac.at/~mkoegler/pth/pthsem-${PV}.tar.gz \
8 file://ldflags.patch;patch=1 \
11 inherit autotools binconfig
17 do_install_prepend() {
18 cp ${S}/pth-config ${S}/pthsem-config
21 oe_libinstall -so libpthsem ${STAGING_LIBDIR}
22 install -d ${STAGING_INCDIR}/
23 install -m 0644 ${S}/pth.h ${STAGING_INCDIR}/pthsem.h
24 install -d ${STAGING_BINDIR}/
25 install -d ${STAGING_DATADIR}/aclocal
26 install pth.m4 ${STAGING_DATADIR}/aclocal/pthsem.m4
29 BINCONFIG_GLOB = "pthsem-config"