summaryrefslogtreecommitdiff
path: root/packages/xcb/xcb-proto_0.9.91.bb
blob: 2c3c8856275da7e20cee62457b68e67e3d61b410 (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"
PR = "r0"

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

inherit autotools pkgconfig

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

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
}