From dabdd783df64952acda4a29a51c02a1775a9a9fa Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 16 Apr 2009 23:49:44 +0200 Subject: [PATCH] Added xcb-util-0.3.4 template. --HG-- extra : convert_revision : 44879b88ca99bdbe9ced04550000a651c7c683bb --- templates/xcb-util-devel | 1 + templates/xcb-util/depends | 2 ++ templates/xcb-util/devel.template | 17 ++++++++++++++++ templates/xcb-util/template | 34 +++++++++++++++++++++++++++++++ 4 files changed, 54 insertions(+) create mode 120000 templates/xcb-util-devel create mode 100644 templates/xcb-util/depends create mode 100644 templates/xcb-util/devel.template create mode 100644 templates/xcb-util/template diff --git a/templates/xcb-util-devel b/templates/xcb-util-devel new file mode 120000 index 0000000000..bc7f6f1686 --- /dev/null +++ b/templates/xcb-util-devel @@ -0,0 +1 @@ +xcb-util \ No newline at end of file diff --git a/templates/xcb-util/depends b/templates/xcb-util/depends new file mode 100644 index 0000000000..4437967c17 --- /dev/null +++ b/templates/xcb-util/depends @@ -0,0 +1,2 @@ +abi_depends=0.3.4 +api_depends=${abi_depends} diff --git a/templates/xcb-util/devel.template b/templates/xcb-util/devel.template new file mode 100644 index 0000000000..e5db5a8e63 --- /dev/null +++ b/templates/xcb-util/devel.template @@ -0,0 +1,17 @@ +# Template file for 'xcb-util-devel'. +# +short_desc="${sourcepkg} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run xcb-util + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib +} diff --git a/templates/xcb-util/template b/templates/xcb-util/template new file mode 100644 index 0000000000..96a2c436ea --- /dev/null +++ b/templates/xcb-util/template @@ -0,0 +1,34 @@ +# Template build for 'xcb-util'. +pkgname=xcb-util +sourcepkg=$pkgname +version=0.3.4 +distfiles="http://xcb.freedesktop.org/dist/$pkgname-$version.tar.bz2" +build_style=gnu_configure +short_desc="XCB utilities" +maintainer="Juan RP " +checksum=eeb723e9be5fa1e6d9c5cf223731d43a9589b4d727b11c2d310bd6157f408d26 +long_desc=" + The xcb-util module provides a number of libraries which sit on top of + libxcb, the core X protocol library, and some of the extension + libraries. These experimental libraries provide convenience functions + and interfaces which make the raw X protocol more usable. Some of the + libraries also provide client-side code which is not strictly part of + the X protocol but which have traditionally been provided by Xlib. + + These libraries are currently included, roughly ordered by maturity: + + render-util: Convenience functions for the Render extension. + aux: Convenient access to connection setup and some core requests. + atom: Standard core X atom constants and atom caching. + property: Callback X property-change handling. + icccm: Both client and window-manager helpers for ICCCM. + keysyms: Standard X key constants and conversion to/from keycodes. + event: Callback X event handling. + image: Port of Xlib's XImage and XShmImage functions. + wm: Framework for window manager implementation." + +subpackages="devel" +Add_dependency build pkg-config +Add_dependency build gperf +Add_dependency full glibc +Add_dependency full libxcb