aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gnome/gnome-doc-utils.inc
blob: a1defa5dd50b8aa9609d38e9d7402b6e7c50f747 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
LICENSE = "GPL LGPL"
DEPENDS = "libxml2 libxslt libxslt-native"

INC_PR = "r5"

inherit gnome

EXTRA_OECONF = "--disable-scrollkeeper"

do_configure_prepend() {
	sed -i -e 's: doc::g' ${S}/Makefile.am
}

do_install_append() {
	mkdir -p  ${D}${datadir}/xml/gnome/xslt/
	cp -pPr ${S}/xslt/* ${D}${datadir}/xml/gnome/xslt/
	sed -i "1s:/.*/python:${bindir}/python:" ${D}${bindir}/xml2po
}

FILES_${PN} += "${datadir}/xml*"