summaryrefslogtreecommitdiff
path: root/packages/xcb/xcb-proto_0.9.91.bb
blob: 8373847b28080fc13f08bf58a9c9d52674bdf0c4 (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"

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
}