diff options
author | Scott Garman <scott.a.garman@intel.com> | 2011-02-15 16:36:12 -0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-02-16 07:45:19 -0800 |
commit | f5d2b58e9944c5b1ae820cf44f535f9847b8bac3 (patch) | |
tree | a1db196462f79c9e2a42e4070b1108e043a87272 /meta | |
parent | 1cd61f6e7dbb2f879adeba83711f21ea5bb5d312 (diff) | |
download | poky-f5d2b58e9944c5b1ae820cf44f535f9847b8bac3.tar.gz |
opensp: improve configuration and install steps
* For the -native case we need to point two configure
options to the SGML catalogs in the native sysroot
* Some packages (e.g, iputils) use different names for
the openSP utilities, so create these names as
symlinks after do_install
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/opensp/opensp_1.5.bb | 18 |
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 | ||
25 | inherit autotools gettext | 25 | inherit autotools gettext |
26 | 26 | ||
27 | EXTRA_OECONF_virtclass-native = "\ | ||
28 | --enable-default-catalog=${sysconfdir}/sgml/catalog \ | ||
29 | --enable-default-search-path=${datadir}/sgml \ | ||
30 | " | ||
31 | |||
32 | do_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 | |||
27 | BBCLASSEXTEND = "native" | 45 | BBCLASSEXTEND = "native" |