summaryrefslogtreecommitdiff
path: root/packages/xcb/xcb-proto.inc
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2007-08-02 18:49:00 +0000
committerPhilipp Zabel <philipp.zabel@gmail.com>2007-08-02 18:49:00 +0000
commita68cf15726e62b354584be3c1d4bfa6d245e597f (patch)
treeb324f3ca031e0bd307783cd964862f5209c17796 /packages/xcb/xcb-proto.inc
parenta6164bbe00f788d1a42190fa1ca8dd685fbd1f17 (diff)
xcb: cleanup and update
- move common lines of libxcb, xcb-proto and xcb-util into .inc files - add libpthread-stubs-0.1 - add xcb-proto-1.0 - add libxcb-1.0
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
+}