void-packages/srcpkgs/libxcb/template

34 lines
976 B
Plaintext
Raw Normal View History

# Template build file for 'libxcb'.
pkgname=libxcb
2013-12-23 10:08:27 +01:00
version=1.10
2013-11-10 07:07:52 +01:00
revision=1
2012-10-06 14:04:45 +02:00
build_style=gnu-configure
2013-05-30 23:21:55 +02:00
configure_args="--disable-build-docs --disable-static --enable-xinput --enable-xkb"
hostmakedepends="pkg-config python libxslt docbook-xsl"
2013-12-23 10:08:27 +01:00
makedepends="xcb-proto>=1.10 libXdmcp-devel libXau-devel"
short_desc="X protocol C-language Binding"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
2012-10-06 14:04:45 +02:00
homepage="http://xcb.freedesktop.org"
distfiles="$homepage/dist/$pkgname-$version.tar.bz2"
2013-12-23 10:08:27 +01:00
checksum=98d9ab05b636dd088603b64229dd1ab2d2cc02ab807892e107d674f9c3f2d5b5
if [ "$CROSS_BUILD" ]; then
2013-12-23 10:08:27 +01:00
hostmakedepends+=" libtool automake xcb-proto>=1.10"
2013-02-12 14:25:53 +01:00
pre_configure() {
sed -e "s|pthread-stubs ||" -i configure.ac
autoreconf -fi
}
fi
libxcb-devel_package() {
2013-05-30 23:21:55 +02:00
depends="libXdmcp-devel libXau-devel libxcb>=${version}_${revision}"
2013-05-30 23:05:59 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
2013-11-10 07:07:52 +01:00
vmove "usr/lib/*.so"
}
}