summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/openjade/openjade-native_1.3.2.bb12
1 files changed, 10 insertions, 2 deletions
diff --git a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
index 1c672e109e..da59406aa9 100644
--- a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
+++ b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
@@ -7,7 +7,7 @@ SECTION = "base"
7LICENSE = "BSD" 7LICENSE = "BSD"
8LIC_FILES_CHKSUM = "file://COPYING;md5=641ff1e4511f0a87044ad42f87cb1045" 8LIC_FILES_CHKSUM = "file://COPYING;md5=641ff1e4511f0a87044ad42f87cb1045"
9 9
10PR = "r2" 10PR = "r3"
11 11
12DEPENDS = "opensp-native sgml-common-native" 12DEPENDS = "opensp-native sgml-common-native"
13RDEPENDS_${PN} = "sgml-common" 13RDEPENDS_${PN} = "sgml-common"
@@ -31,6 +31,8 @@ CONFIGUREOPTS := "${@d.getVar('CONFIGUREOPTS', True).replace('--datadir=${datadi
31CFLAGS =+ "-I${S}/include" 31CFLAGS =+ "-I${S}/include"
32 32
33SSTATEPOSTINSTFUNCS += "openjade_sstate_postinst" 33SSTATEPOSTINSTFUNCS += "openjade_sstate_postinst"
34SYSROOT_PREPROCESS_FUNCS += "openjade_sysroot_preprocess"
35
34 36
35# We need to do this else the source interdependencies aren't generated and 37# We need to do this else the source interdependencies aren't generated and
36# build failures can result (e.g. zero size style/Makefile.dep file) 38# build failures can result (e.g. zero size style/Makefile.dep file)
@@ -66,8 +68,14 @@ openjade_sstate_postinst() {
66 then 68 then
67 # Ensure that the catalog file sgml-docbook.cat is properly 69 # Ensure that the catalog file sgml-docbook.cat is properly
68 # updated when the package is installed from sstate cache. 70 # updated when the package is installed from sstate cache.
69 install-catalog \ 71 ${SYSROOT_DESTDIR}${bindir_crossscripts}/install-catalog-openjade \
70 --add ${sysconfdir}/sgml/sgml-docbook.cat \ 72 --add ${sysconfdir}/sgml/sgml-docbook.cat \
71 ${sysconfdir}/sgml/openjade-${PV}.cat 73 ${sysconfdir}/sgml/openjade-${PV}.cat
72 fi 74 fi
73} 75}
76
77openjade_sysroot_preprocess () {
78 install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
79 install -m 755 ${STAGING_BINDIR_NATIVE}/install-catalog ${SYSROOT_DESTDIR}${bindir_crossscripts}/install-catalog-openjade
80}
81