summaryrefslogtreecommitdiff
path: root/meta/packages/gtk-doc/gtk-doc.bb
blob: 8d6a1c814c370f35c223aa75dd5f0bb63ac7ae93 (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
SECTION = "x11/base"
SRC_URI = "file://gtk-doc.m4"
LICENSE = "LGPL"
PR = "r3"

ALLOW_EMPTY_${PN} = "1"

BBCLASSEXTEND = "native"

do_install () {
	install -d ${D}/${datadir}/aclocal
	install -m 0644 ${WORKDIR}/gtk-doc.m4 ${D}/${datadir}/aclocal
}

do_stage () {
	install -d ${STAGING_DATADIR}/aclocal
	install -m 0644 ${WORKDIR}/gtk-doc.m4 ${STAGING_DATADIR}/aclocal/
}

# Standard native.bbclass do_stage() won't work
do_stage_virtclass-native () {
	install -d ${STAGING_DATADIR}/aclocal
	install -m 0644 ${WORKDIR}/gtk-doc.m4 ${STAGING_DATADIR}/aclocal/
}