5 SRC_URI = "${SOURCEFORGE_MIRROR}/openjade/OpenSP-${PV}.tar.gz \
6 file://m4.patch;patch=1 \
7 file://attributevalue.patch;patch=1 \
8 file://rangmap-fix.patch;patch=1"
10 S = "${WORKDIR}/OpenSP-${PV}"
12 inherit autotools native
15 --enable-default-catalog=${sysconfdir}/sgml/catalog \
16 --enable-default-search-path=${datadir}/sgml \
19 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/opensp-${PV}"
28 oe_libinstall -a -so -C lib libosp ${STAGING_LIBDIR}
29 install -d ${STAGING_INCDIR}/OpenSP
30 install -m 0644 ${S}/include/*.h ${STAGING_INCDIR}/OpenSP/
31 install -m 0644 ${S}/include/*.cxx ${STAGING_INCDIR}/OpenSP/
32 install -m 0644 config.h ${STAGING_INCDIR}/OpenSP/config.h
34 # Installs all the tools and symlink with another common name to each.
35 install -d ${STAGING_BINDIR_NATIVE}
36 for tool in nsgmls sgmlnorm spam spcat spent sx
38 echo installing $tool to ${STAGING_BINDIR_NATIVE}
39 install -m 0755 $tool/.libs/o$tool ${STAGING_BINDIR_NATIVE}
40 ln -sf o$tool ${STAGING_BINDIR_NATIVE}/$tool