void-packages/srcpkgs/libxcb/template

25 lines
758 B
Plaintext

# Template build file for 'libxcb'.
pkgname=libxcb
version=1.9
revision=2
subpackages="$pkgname-devel"
build_style=gnu-configure
configure_args="--disable-build-docs --disable-static"
makedepends="pkg-config python libxslt docbook-xsl xcb-proto>=1.8
libXdmcp-devel libXau-devel"
crossmakedepends="libXdmcp-devel libXau-devel"
short_desc="X protocol C-language Binding"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://xcb.freedesktop.org"
distfiles="$homepage/dist/$pkgname-$version.tar.bz2"
checksum=8857e62b3aae2976c7e10043643e45a85964fd1dcb4469dfde0d04d3d1b12c96
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
makedepends="automake ${makedepends}"
pre_configure() {
sed -e "s|pthread-stubs ||" -i configure.ac
autoreconf -fi
}
fi