summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/opensp
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/opensp')
-rw-r--r--meta/recipes-devtools/opensp/opensp_1.5.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-devtools/opensp/opensp_1.5.bb b/meta/recipes-devtools/opensp/opensp_1.5.bb
index bda87cb06d..61022e037b 100644
--- a/meta/recipes-devtools/opensp/opensp_1.5.bb
+++ b/meta/recipes-devtools/opensp/opensp_1.5.bb
@@ -24,4 +24,22 @@ S = "${WORKDIR}/OpenSP-${PV}"
24 24
25inherit autotools gettext 25inherit autotools gettext
26 26
27EXTRA_OECONF_virtclass-native = "\
28 --enable-default-catalog=${sysconfdir}/sgml/catalog \
29 --enable-default-search-path=${datadir}/sgml \
30 "
31
32do_install_append() {
33 # Set up symlinks to often-used alternate names. See
34 # http://www.linuxfromscratch.org/blfs/view/stable/pst/opensp.html
35 cd ${D}${libdir}
36 ln -sf libosp.so libsp.so
37
38 cd ${D}${bindir}
39 for util in nsgmls sgmlnorm spam spcat spent sx; do
40 ln -sf o$util $util
41 done
42 ln -sf osx sgml2xml
43}
44
27BBCLASSEXTEND = "native" 45BBCLASSEXTEND = "native"