summaryrefslogtreecommitdiff
path: root/packages/gtkhtml/gtkhtml-lite-3.0_3.0.10.bb
blob: 7af6879042b0b7899f4f20e62c1ad0431abe4984 (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"
SECTION = "x11/libs"
DESCRIPTION = "HTML rendering/editing library"
DEPENDS = "gtk+ gail libgnomeprint orbit2-native"
PR = "r1"

inherit gnome

SRC_URI = "http://stag.mind.be/gtkhtml-lite-3.0.10.tar.bz2" 
FILES_${PN} += "${datadir}/gtkhtml-3.0 ${libdir}/gtkhtml/*.so"
FILES_${PN}-dev += "${libdir}/gtkhtml"
S = "${WORKDIR}/gtkhtml-${PV}"

EXTRA_OECONF = "--disable-gtk-doc"

do_stage() {
	mv src/libgtkhtml.pc src/libgtkhtml-3.0.pc || true
	gnome_stage_includes
	oe_libinstall -C src -so libgtkhtml-3.0 ${STAGING_LIBDIR}
}

do_compile() {
	oe_runmake ORBIT_IDL=${STAGING_BINDIR_NATIVE}/orbit-idl-2
}