summaryrefslogtreecommitdiff
path: root/pth/pth_2.0.0.oe
blob: eb18df6bcee9588bc4897ed2442393b61a1ce7fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
DESCRIPTION = "GNU Portable Threads"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPL LGPL FDL"
RDEPENDS = "libc6"
DEPENDS = "virtual/libc"

SRC_URI = "ftp://ftp.ossp.org/pkg/lib/pth/pth-${PV}.tar.gz"

inherit autotools libtool

do_configure() {
	oe_runconf
}

do_stage() {
	oe_soinstall .libs/libpth.so.20.0.20 ${STAGING_LIBDIR}/

	install -d ${STAGING_INCDIR}/
	for X in pth.h
	do
		install -m 0644 ${S}/$X ${STAGING_INCDIR}/$X
	done

}