summaryrefslogtreecommitdiff
path: root/openjade
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-01-21 05:43:43 +0000
committerChris Larson <clarson@kergoth.com>2004-01-21 05:43:43 +0000
commitd417ffbcee19ebfc8c925db38e9583ed8d3353c2 (patch)
tree506ca788512855e82c67cba8475d8b9e9fc5f6ce /openjade
parent1f5d3ca0c77c53670819521d343973530b0e7c61 (diff)
Merge kergoth@zelda.tuxnami.org:code/packages
into nexus.(none):/root/devel/openembedded/packages 2004/01/21 00:43:04-05:00 (none)!kergoth Add sgml-common & sgml-common-native, and make openjade/openjade-native depend on it. This makes the docbook2html, etc as built by OE for native actually run. BKrev: 400e118feaOcGCxMRHExH2TBHRXwYw
Diffstat (limited to 'openjade')
-rw-r--r--openjade/openjade-native_1.3.2.oe39
-rw-r--r--openjade/openjade_1.3.2.oe34
2 files changed, 73 insertions, 0 deletions
diff --git a/openjade/openjade-native_1.3.2.oe b/openjade/openjade-native_1.3.2.oe
index e69de29bb2..2057832247 100644
--- a/openjade/openjade-native_1.3.2.oe
+++ b/openjade/openjade-native_1.3.2.oe
@@ -0,0 +1,39 @@
+DEPENDS = patcher-native opensp-native sgml-common-native
+RDEPENDS =
+
+SRC_URI = ${SOURCEFORGE_MIRROR}/openjade/openjade-${PV}.tar.gz \
+ file://${FILESDIR}/configure.patch;patch=1
+S = ${WORKDIR}/openjade-${PV}
+
+inherit autotools native
+
+FILESDIR = ${@os.path.dirname(oe.data.getVar('FILE',d,1))}/openjade-${PV}
+PACKAGES =
+
+EXTRA_OECONF = '--enable-spincludedir=${STAGING_INCDIR}/OpenSP \
+ --enable-splibdir=${STAGING_LIBDIR}'
+acpaths=-I ${S}/config
+CFLAGS_prepend='-I${S}/include'
+do_configure () {
+ oe_runconf
+}
+
+SOV=0.0.1
+do_stage () {
+ install -m 0755 ${S}/jade/.libs/openjade ${STAGING_BINDIR}/openjade
+ install -m 0755 ${S}/style/.libs/libostyle.lai ${STAGING_LIBDIR}/libostyle.la
+ install -m 0755 ${S}/style/.libs/libostyle.a ${STAGING_LIBDIR}/libostyle.a
+ install -m 0755 ${S}/style/.libs/libostyle.so.${SOV} ${STAGING_LIBDIR}/libostyle.so.${SOV}
+ ln -sf libostyle.so.${SOV} ${STAGING_LIBDIR}/libostyle.so.0
+ ln -sf libostyle.so.${SOV} ${STAGING_LIBDIR}/libostyle.so
+ install -m 0755 ${S}/spgrove/.libs/libospgrove.lai ${STAGING_LIBDIR}/libospgrove.la
+ install -m 0755 ${S}/spgrove/.libs/libospgrove.a ${STAGING_LIBDIR}/libospgrove.a
+ install -m 0755 ${S}/spgrove/.libs/libospgrove.so.${SOV} ${STAGING_LIBDIR}/libospgrove.so.${SOV}
+ ln -sf libospgrove.so.${SOV} ${STAGING_LIBDIR}/libospgrove.so.0
+ ln -sf libospgrove.so.${SOV} ${STAGING_LIBDIR}/libospgrove.so
+ install -m 0755 ${S}/grove/.libs/libogrove.lai ${STAGING_LIBDIR}/libogrove.la
+ install -m 0755 ${S}/grove/.libs/libogrove.a ${STAGING_LIBDIR}/libogrove.a
+ install -m 0755 ${S}/grove/.libs/libogrove.so.${SOV} ${STAGING_LIBDIR}/libogrove.so.${SOV}
+ ln -sf libogrove.so.${SOV} ${STAGING_LIBDIR}/libogrove.so.0
+ ln -sf libogrove.so.${SOV} ${STAGING_LIBDIR}/libogrove.so
+}
diff --git a/openjade/openjade_1.3.2.oe b/openjade/openjade_1.3.2.oe
index e69de29bb2..e127c3d4f8 100644
--- a/openjade/openjade_1.3.2.oe
+++ b/openjade/openjade_1.3.2.oe
@@ -0,0 +1,34 @@
+DEPENDS = virtual/libc opensp
+RDEPENDS = libc6 opensp sgml-common
+
+SRC_URI = ${SOURCEFORGE_MIRROR}/openjade/openjade-${PV}.tar.gz \
+ file://${FILESDIR}/configure.patch;patch=1
+
+inherit autotools libtool
+
+EXTRA_OECONF = '--enable-spincludedir=${STAGING_INCDIR}/OpenSP \
+ --enable-splibdir=${STAGING_LIBDIR}'
+acpaths=-I ${S}/config
+CFLAGS_prepend='-I${S}/include'
+do_configure_prepend () {
+ mv config/configure.in .
+}
+
+SOV=0.0.1
+do_stage () {
+ install -m 0755 ${S}/style/.libs/libostyle.lai ${STAGING_LIBDIR}/libostyle.la
+ install -m 0755 ${S}/style/.libs/libostyle.a ${STAGING_LIBDIR}/libostyle.a
+ install -m 0755 ${S}/style/.libs/libostyle.so.${SOV} ${STAGING_LIBDIR}/libostyle.so.${SOV}
+ ln -sf libostyle.so.${SOV} ${STAGING_LIBDIR}/libostyle.so.0
+ ln -sf libostyle.so.${SOV} ${STAGING_LIBDIR}/libostyle.so
+ install -m 0755 ${S}/spgrove/.libs/libospgrove.lai ${STAGING_LIBDIR}/libospgrove.la
+ install -m 0755 ${S}/spgrove/.libs/libospgrove.a ${STAGING_LIBDIR}/libospgrove.a
+ install -m 0755 ${S}/spgrove/.libs/libospgrove.so.${SOV} ${STAGING_LIBDIR}/libospgrove.so.${SOV}
+ ln -sf libospgrove.so.${SOV} ${STAGING_LIBDIR}/libospgrove.so.0
+ ln -sf libospgrove.so.${SOV} ${STAGING_LIBDIR}/libospgrove.so
+ install -m 0755 ${S}/grove/.libs/libogrove.lai ${STAGING_LIBDIR}/libogrove.la
+ install -m 0755 ${S}/grove/.libs/libogrove.a ${STAGING_LIBDIR}/libogrove.a
+ install -m 0755 ${S}/grove/.libs/libogrove.so.${SOV} ${STAGING_LIBDIR}/libogrove.so.${SOV}
+ ln -sf libogrove.so.${SOV} ${STAGING_LIBDIR}/libogrove.so.0
+ ln -sf libogrove.so.${SOV} ${STAGING_LIBDIR}/libogrove.so
+}