summaryrefslogtreecommitdiff
path: root/packages/pth
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pth')
-rw-r--r--packages/pth/.mtn2git_empty0
-rw-r--r--packages/pth/pth_2.0.0.bb27
2 files changed, 27 insertions, 0 deletions
diff --git a/packages/pth/.mtn2git_empty b/packages/pth/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/pth/.mtn2git_empty
diff --git a/packages/pth/pth_2.0.0.bb b/packages/pth/pth_2.0.0.bb
index e69de29bb2..a0c3056157 100644
--- a/packages/pth/pth_2.0.0.bb
+++ b/packages/pth/pth_2.0.0.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "GNU Portable Threads"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPL LGPL FDL"
+PR = "r1"
+
+SRC_URI = "ftp://ftp.ossp.org/pkg/lib/pth/pth-${PV}.tar.gz"
+
+inherit autotools
+
+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/
+}