summaryrefslogtreecommitdiff
path: root/recipes/shr/shr-specs_git.bb
blob: bc29ee5e275d43b78693e028d4ecd66ff2acb15f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "The SHR DBus API Specification"
HOMEPAGE = "http://shr-project.org/"
LICENSE = "BSD"
SECTION = "devel/specifications"
PV = "0.0.0+gitr${SRCPV}"
PR = "r0"

SRC_URI = "git://git.shr-project.org/repo/shr-specs.git;protocol=http;branch=master"
S = "${WORKDIR}/git"

do_compile() {
	make xml
}

do_stage() {
	install -d "${STAGING_DATADIR}/shr-specs"
	install -m 0644 xml/* "${STAGING_DATADIR}/shr-specs"
}

FILE_${PN}-dev += "${datadir}/shr-specs"