diff options
Diffstat (limited to 'meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb')
-rw-r--r-- | meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb b/meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb index 88d24dd949..a776ea50ed 100644 --- a/meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb +++ b/meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb | |||
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://README;beginline=41;endline=74;md5=875385159b2ee76ecf | |||
7 | 7 | ||
8 | DEPENDS = "sgml-common-native" | 8 | DEPENDS = "sgml-common-native" |
9 | 9 | ||
10 | PR = "r2" | 10 | PR = "r3" |
11 | 11 | ||
12 | SRC_URI = "${SOURCEFORGE_MIRROR}/docbook/docbook-dsssl-${PV}.tar.bz2" | 12 | SRC_URI = "${SOURCEFORGE_MIRROR}/docbook/docbook-dsssl-${PV}.tar.bz2" |
13 | 13 | ||
@@ -19,6 +19,8 @@ S = "${WORKDIR}/docbook-dsssl-${PV}" | |||
19 | inherit native | 19 | inherit native |
20 | 20 | ||
21 | SSTATEPOSTINSTFUNCS += "docbook_dsssl_stylesheets_sstate_postinst" | 21 | SSTATEPOSTINSTFUNCS += "docbook_dsssl_stylesheets_sstate_postinst" |
22 | SYSROOT_PREPROCESS_FUNCS += "docbook_dsssl_sysroot_preprocess" | ||
23 | |||
22 | 24 | ||
23 | do_install () { | 25 | do_install () { |
24 | # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/docbook-dsssl.html | 26 | # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/docbook-dsssl.html |
@@ -42,8 +44,14 @@ docbook_dsssl_stylesheets_sstate_postinst () { | |||
42 | then | 44 | then |
43 | # Ensure that the catalog file sgml-docbook.cat is properly | 45 | # Ensure that the catalog file sgml-docbook.cat is properly |
44 | # updated when the package is installed from sstate cache. | 46 | # updated when the package is installed from sstate cache. |
45 | install-catalog \ | 47 | ${SYSROOT_DESTDIR}${bindir_crossscripts}/install-catalog-docbook-dsssl \ |
46 | --add ${sysconfdir}/sgml/sgml-docbook.cat \ | 48 | --add ${sysconfdir}/sgml/sgml-docbook.cat \ |
47 | ${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat | 49 | ${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat |
48 | fi | 50 | fi |
49 | } | 51 | } |
52 | |||
53 | docbook_dsssl_sysroot_preprocess () { | ||
54 | install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/ | ||
55 | install -m 755 ${STAGING_BINDIR_NATIVE}/install-catalog ${SYSROOT_DESTDIR}${bindir_crossscripts}/install-catalog-docbook-dsssl | ||
56 | } | ||
57 | |||