summaryrefslogtreecommitdiff
path: root/recipes/gnome/gnome-doc-utils.inc
blob: b5bbae15293227781140bbfc2d884207360afa85 (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 gettext-native"
DEPENDS_virtclass-native = "libxslt-native libxml2-native gettext-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"