summaryrefslogtreecommitdiff
path: root/opensp/opensp-native_1.5.oe
diff options
context:
space:
mode:
Diffstat (limited to 'opensp/opensp-native_1.5.oe')
-rw-r--r--opensp/opensp-native_1.5.oe25
1 files changed, 25 insertions, 0 deletions
diff --git a/opensp/opensp-native_1.5.oe b/opensp/opensp-native_1.5.oe
index e69de29bb2..05045ab4f3 100644
--- a/opensp/opensp-native_1.5.oe
+++ b/opensp/opensp-native_1.5.oe
@@ -0,0 +1,25 @@
+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 ${S}/lib/.libs/libosp.a ${STAGING_LIBDIR}/libosp.so.a
+ install -m 0755 ${S}/lib/.libs/libosp.lai ${STAGING_LIBDIR}/libosp.la
+ install -m 0755 ${S}/lib/.libs/libosp.so.3.0.0 ${STAGING_LIBDIR}/libosp.so.3.0.0
+ ln -sf libosp.so.3.0.0 ${STAGING_LIBDIR}/libosp.so.3
+ ln -sf libosp.so.3.0.0 ${STAGING_LIBDIR}/libosp.so
+ 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 ${S}/config.h ${STAGING_INCDIR}/OpenSP/config.h
+}