diff options
| -rw-r--r-- | meta/packages/pth/pth_2.0.2.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/packages/pth/pth_2.0.2.bb b/meta/packages/pth/pth_2.0.2.bb new file mode 100644 index 0000000000..78c06bfd93 --- /dev/null +++ b/meta/packages/pth/pth_2.0.2.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | DESCRIPTION = "GNU Portable Threads" | ||
| 2 | SECTION = "libs" | ||
| 3 | PRIORITY = "optional" | ||
| 4 | LICENSE = "GPL LGPL FDL" | ||
| 5 | PR = "r0" | ||
| 6 | |||
| 7 | SRC_URI = "${GNU_MIRROR}/pth/pth-${PV}.tar.gz" | ||
| 8 | |||
| 9 | PARALLEL_MAKE="" | ||
| 10 | |||
| 11 | inherit autotools | ||
| 12 | |||
| 13 | do_configure() { | ||
| 14 | gnu-configize | ||
| 15 | oe_runconf | ||
| 16 | } | ||
| 17 | |||
| 18 | do_stage() { | ||
| 19 | oe_libinstall -so libpth ${STAGING_LIBDIR} | ||
| 20 | |||
| 21 | install -d ${STAGING_INCDIR}/ | ||
| 22 | for X in pth.h | ||
| 23 | do | ||
| 24 | install -m 0644 ${S}/$X ${STAGING_INCDIR}/$X | ||
| 25 | done | ||
| 26 | |||
| 27 | install -d ${STAGING_DATADIR}/aclocal | ||
| 28 | install pth.m4 ${STAGING_DATADIR}/aclocal/ | ||
| 29 | } | ||
