void-packages/srcpkgs/libxcb/template

30 lines
885 B
Bash

# Template build file for 'libxcb'.
pkgname=libxcb
version=1.11
revision=2
build_style=gnu-configure
configure_args="--disable-build-docs --disable-static --enable-xinput --enable-xkb"
hostmakedepends="automake libtool pkg-config xorg-util-macros xcb-proto"
makedepends="xcb-proto libXdmcp-devel libXau-devel"
short_desc="X protocol C-language Binding"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://xcb.freedesktop.org"
distfiles="$homepage/dist/$pkgname-$version.tar.bz2"
checksum=03635d70045b9ede90778e67516135828a57de87ac508f987024f43c03620ff7
pre_configure() {
sed "s|pthread-stubs ||" -i configure.ac
autoreconf -fi
}
libxcb-devel_package() {
depends="${makedepends} libxcb>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}