aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gtk-doc-stub/gtk-doc-stub_git.bb
blob: 84e49c13a6ed33a9b2382d28ea8e4385c80061de (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
25
26
27
28
29
30
31
32
33
SUMMARY = "Stub implementation of gtk-doc"
DESCRIPTION = "Stub implementation of gtk-doc, as we don't want to build the API documentation"
SECTION = "x11/base"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"

PROVIDES = "gtk-doc"

SRCREV = "1dea266593edb766d6d898c79451ef193eb17cfa"
PV = "1.1+git${SRCPV}"

SRC_URI = "git://git.gnome.org/${BPN} \
	   file://0001-Revert-Import-introspection-stub-machinery-too.patch \
	  "

S = "${WORKDIR}/git"

do_configure() {
	./configure --prefix=${prefix} \
                    --sysconfdir=${sysconfdir} \
                    --bindir=${bindir} \
                    --libdir=${libdir} \
                    --datadir=${datadir} \
                    --datarootdir=${datadir}
}

do_install() {
	oe_runmake install DESTDIR="${D}"
}

FILES_${PN} += "${datadir}"

BBCLASSEXTEND = "native"