summaryrefslogtreecommitdiff
path: root/recipes/xcb/xcb-proto.inc
blob: 13e6bc9d94dd14ba4063a132493870676228652e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DESCRIPTION = "XCB: an X protocol C binding"
SECTION = "x11/libs"
LICENSE = "MIT-X"
HOMEPAGE = "http://xcb.freedesktop.org"

SRC_URI = "http://xcb.freedesktop.org/dist/xcb-proto-${PV}.tar.bz2"

inherit autotools pkgconfig

FILES_${PN}-dev += "${datadir}/xcb/*.xml"
ALLOW_EMPTY_${PN} = "1"

do_stage() {
	oe_runmake DESTDIR="${D}" install
	mkdir -p ${STAGING_LIBDIR}/pkgconfig
	install ${D}${libdir}/pkgconfig/xcb-proto.pc ${STAGING_LIBDIR}/pkgconfig
	mkdir -p ${STAGING_DATADIR}/xcb
	install ${D}${datadir}/xcb/*.xml ${STAGING_DATADIR}/xcb
}