summaryrefslogtreecommitdiff
path: root/packages/docbook-utils/docbook-utils-native_0.6.13.bb
blob: 19aa32710746d44c2af6beb18217f8d4c9651f6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
SECTION = "console/utils"
LICENSE = "GPL"
DEPENDS = "openjade-native docbook-sgml-dtd-3.1-native docbook-dsssl-stylesheets-native"

SRC_URI = "ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/docbook-utils-${PV}.tar.gz"
S = "${WORKDIR}/docbook-utils-${PV}"

inherit autotools native

do_stage () {
	for b in docbook2dvi docbook2man docbook2ps docbook2tex \
		 docbook2txt docbook2html docbook2pdf docbook2rtf \
		 docbook2texi jw; do
		install -m 0755 ${S}/bin/$b ${STAGING_BINDIR}/
	done
	for i in backends/dvi backends/html backends/man \
		 backends/pdf backends/ps backends/rtf backends/tex \
		 backends/texi backends/txt frontends/docbook \
		 helpers/docbook2man-spec.pl helpers/docbook2texi-spec.pl \
		 docbook-utils.dsl; do
		 install -d ${STAGING_DATADIR}/sgml/docbook/utils-${PV}/`dirname $i`
		 install ${S}/$i ${STAGING_DATADIR}/sgml/docbook/utils-${PV}/$i
	done
}