DESCRIPTION = "GNU Portable Threads" SECTION = "libs" PRIORITY = "optional" LICENSE = "GPL LGPL FDL" PR = "r1" SRC_URI = "${GNU_MIRROR}/pth/pth-${PV}.tar.gz" PARALLEL_MAKE="" inherit autotools binconfig do_configure() { gnu-configize oe_runconf } do_stage() { oe_libinstall -so libpth ${STAGING_LIBDIR} install -d ${STAGING_INCDIR}/ for X in pth.h do install -m 0644 ${S}/$X ${STAGING_INCDIR}/$X done install -d ${STAGING_DATADIR}/aclocal install pth.m4 ${STAGING_DATADIR}/aclocal/ } FILES_${PN} = "${libdir}/libpth.so.*" FILES_${PN}-dev += "${bindir}/pth-config"