summaryrefslogtreecommitdiff
path: root/opensp/opensp-native_1.5.oe
blob: c50f1a66dcdcdecb5eaf26ee195baf0c421daf4a (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
DEPENDS = "patcher-native"

SRC_URI = "${SOURCEFORGE_MIRROR}/openjade/OpenSP-${PV}.tar.gz \
	   file://${FILESDIR}/m4.patch;patch=1 \
	   file://${FILESDIR}/attributevalue.patch;patch=1"
S = "${WORKDIR}/OpenSP-${PV}"

inherit autotools native

FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/opensp-${PV}"
PACKAGES = ""

do_configure () {
	oe_runconf
}

do_stage () {
	install -m 0755 lib/.libs/libosp.a ${STAGING_LIBDIR}/libosp.so.a
	install -m 0755 lib/.libs/libosp.lai ${STAGING_LIBDIR}/libosp.la
	oe_soinstall lib/.libs/libosp.so.3.0.0 ${STAGING_LIBDIR}/
	install -d ${STAGING_INCDIR}/OpenSP
	install -m 0644 ${S}/include/*.h ${STAGING_INCDIR}/OpenSP/
	install -m 0644 ${S}/include/*.cxx ${STAGING_INCDIR}/OpenSP/
	install -m 0644 config.h ${STAGING_INCDIR}/OpenSP/config.h
}