void-packages/srcpkgs/libxcb/template

31 lines
885 B
Bash

# Template file for 'libxcb'.
pkgname=libxcb
version=1.12
revision=1
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=4adfb1b7c67e99bc9c2ccb110b2f175686576d2f792c8a71b9c8b19014057b5b
pre_configure() {
sed "s|pthread-stubs ||" -i configure.ac
autoreconf -fi
}
libxcb-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}