summaryrefslogtreecommitdiff
path: root/packages/xcb/xcb-proto_0.9.92.bb
blob: 1d6258691ead4aa8113a39f6a005bf94df422377 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DESCRIPTION = "XCB: an X protocol C binding"
SECTION = "x11/libs"
LICENSE = "MIT-X"
HOMEPAGE = "http://xcb.freedesktop.org"
MAINTAINER = "Philipp Zabel <philipp.zabel@gmail.com>"
PR = "r0"

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

inherit autotools pkgconfig

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

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
}