diff options
author | Scott Garman <scott.a.garman@intel.com> | 2011-01-26 13:35:37 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-01 23:59:36 +0000 |
commit | 3c7183135d47878f1074b5d9f1ad7570682d44ee (patch) | |
tree | 9f32527fdce2ee09ae79e59b597490bce9791d41 /meta/recipes-devtools/openjade/openjade_1.3.2.bb | |
parent | edca98225b0359eb29f3d3056bd2c59b3bab4475 (diff) | |
download | openembedded-core-contrib-3c7183135d47878f1074b5d9f1ad7570682d44ee.tar.gz |
openjade: new recipe v1.3.2
Recipe derived from OpenEmbedded.
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Diffstat (limited to 'meta/recipes-devtools/openjade/openjade_1.3.2.bb')
-rw-r--r-- | meta/recipes-devtools/openjade/openjade_1.3.2.bb | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/meta/recipes-devtools/openjade/openjade_1.3.2.bb b/meta/recipes-devtools/openjade/openjade_1.3.2.bb new file mode 100644 index 0000000000..f2ad8aef7c --- /dev/null +++ b/meta/recipes-devtools/openjade/openjade_1.3.2.bb @@ -0,0 +1,66 @@ +SUMMARY = "Tools for working with DSSSL stylesheets for SGML and XML documents" +DESCRIPTION = "OpenJade is a suite of tools for validating, \ +processing, and applying DSSSL (Document Style Semantics and \ +Specification Language) stylesheets to SGML and XML documents." +HOMEPAGE = "http://openjade.sourceforge.net" +SECTION = "base" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=641ff1e4511f0a87044ad42f87cb1045" + +PR = "r0" + +DEPENDS = "opensp" +RDEPENDS_${PN} = "sgml-common" + +SRC_URI = "${SOURCEFORGE_MIRROR}/openjade/openjade-${PV}.tar.gz \ + file://configure.patch \ + file://autoconf.patch \ + file://makefile.patch \ + " + +SRC_URI[md5sum] = "7df692e3186109cc00db6825b777201e" +SRC_URI[sha256sum] = "1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7d322d1" + +SRC_URI_append_virtclass-native = " file://oj-native-libosp-fix.patch" + +inherit autotools + +EXTRA_OECONF = "--enable-spincludedir=${STAGING_INCDIR}/OpenSP \ + --enable-splibdir=${STAGING_LIBDIR}" + +acpaths = "-I ${S}/config" + +# Trailing whitespace is important. Otherwise compiler arguments will be messed +# up, resulting in a fail in do_configure. +CFLAGS_prepend = "-I${S}/include " + +do_configure_append () { + cp config/configure.in . +} + +do_install_append () { + # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/openjade.html + # for details. + install -m 0755 ${S}/jade/.libs/openjade ${D}${bindir}/openjade + ln -sf openjade ${D}${bindir}/jade + + oe_libinstall -a -so -C style libostyle ${D}${libdir} + oe_libinstall -a -so -C spgrove libospgrove ${D}${libdir} + oe_libinstall -a -so -C grove libogrove ${D}${libdir} + + install -d ${D}${datadir}/sgml/openjade-${PV} + install -m 644 dsssl/catalog ${D}${datadir}/sgml/openjade-${PV} + install -m 644 dsssl/*.{dtd,dsl,sgm} ${D}${datadir}/sgml/openjade-${PV} + + # The catalog must live in the sysroot and it must be there for + # install-catalog to do its thing. + install -d ${datadir}/sgml/openjade-${PV} + install -m 644 dsssl/catalog ${datadir}/sgml/openjade-${PV}/catalog + install-catalog --add ${sysconfdir}/sgml/openjade-${PV}.cat \ + ${datadir}/sgml/openjade-${PV}/catalog + + install-catalog --add ${sysconfdir}/sgml/sgml-docbook.cat \ + ${sysconfdir}/sgml/openjade-${PV}.cat +} + +BBCLASSEXTEND = "native" |