summaryrefslogtreecommitdiff
path: root/packages/xcb/xcb-proto.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/xcb/xcb-proto.inc')
-rw-r--r--packages/xcb/xcb-proto.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/xcb/xcb-proto.inc b/packages/xcb/xcb-proto.inc
new file mode 100644
index 0000000000..ca477f36d3
--- /dev/null
+++ b/packages/xcb/xcb-proto.inc
@@ -0,0 +1,18 @@
+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"
+
+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
+}