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

INC_PR = "r6"

inherit gnomebase gettext

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:.*:#!/usr/bin/env python:" ${D}${bindir}/xml2po
}

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

BBCLASSEXTEND = "native"