summaryrefslogtreecommitdiff
path: root/recipes/gnome/gnome-doc-utils.inc
blob: 61db29f8f67333978af34cfe7a47fbf089f434ba (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
LICENSE = "GPL LGPL"
DEPENDS = "libxml2 libxslt libxslt-native libxml2-native"
DEPENDS_virtclass-native = "libxslt-native libxml2-native"

INC_PR = "r5"

inherit gnomebase

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*"

BBCLASSEXTEND = "native"