summaryrefslogtreecommitdiff
path: root/opensp
diff options
context:
space:
mode:
Diffstat (limited to 'opensp')
-rw-r--r--opensp/opensp-native_1.5.oe20
-rw-r--r--opensp/opensp_1.5.oe14
2 files changed, 15 insertions, 19 deletions
diff --git a/opensp/opensp-native_1.5.oe b/opensp/opensp-native_1.5.oe
index df12ad4a64..2e455d6365 100644
--- a/opensp/opensp-native_1.5.oe
+++ b/opensp/opensp-native_1.5.oe
@@ -1,28 +1,26 @@
DEPENDS = "patcher-native"
-RDEPENDS =
+RDEPENDS = ""
-SRC_URI = ${SOURCEFORGE_MIRROR}/openjade/OpenSP-${PV}.tar.gz \
- file://${FILESDIR}/m4.patch;patch=1 \
- file://${FILESDIR}/attributevalue.patch;patch=1
+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 =
+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 -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 ${S}/config.h ${STAGING_INCDIR}/OpenSP/config.h
+ install -m 0644 config.h ${STAGING_INCDIR}/OpenSP/config.h
}
diff --git a/opensp/opensp_1.5.oe b/opensp/opensp_1.5.oe
index 616808e240..df27918d42 100644
--- a/opensp/opensp_1.5.oe
+++ b/opensp/opensp_1.5.oe
@@ -4,19 +4,17 @@ DESCRIPTION = "OpenSP is a library and a set of tools \
for validating, parsing, and manipulating SGML and \
XML documents."
-SRC_URI = ${SOURCEFORGE_MIRROR}/openjade/OpenSP-${PV}.tar.gz \
- file://${FILESDIR}/m4.patch;patch=1 \
- file://${FILESDIR}/attributevalue.patch;patch=1
+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 libtool
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 -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/