2009-04-16 21:31:03 +00:00
|
|
|
# Template build file for 'libxcb'.
|
|
|
|
pkgname=libxcb
|
2012-10-06 12:04:45 +00:00
|
|
|
version=1.9
|
2013-04-07 17:17:46 +00:00
|
|
|
revision=3
|
2012-10-06 12:04:45 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-build-docs --disable-static"
|
2013-04-08 23:49:27 +00:00
|
|
|
hostmakedepends="pkg-config python libxslt docbook-xsl"
|
|
|
|
makedepends="xcb-proto>=1.8 libXdmcp-devel libXau-devel"
|
2009-04-16 21:31:03 +00:00
|
|
|
short_desc="X protocol C-language Binding"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-02-13 12:57:40 +00:00
|
|
|
license="GPL-2"
|
2012-10-06 12:04:45 +00:00
|
|
|
homepage="http://xcb.freedesktop.org"
|
|
|
|
distfiles="$homepage/dist/$pkgname-$version.tar.bz2"
|
|
|
|
checksum=8857e62b3aae2976c7e10043643e45a85964fd1dcb4469dfde0d04d3d1b12c96
|
2009-04-16 21:31:03 +00:00
|
|
|
|
2013-04-08 23:49:27 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends+=" libtool automake xcb-proto>=1.8"
|
2013-02-12 13:25:53 +00:00
|
|
|
pre_configure() {
|
|
|
|
sed -e "s|pthread-stubs ||" -i configure.ac
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
fi
|
2013-04-12 11:13:49 +00:00
|
|
|
|
|
|
|
libxcb-devel_package() {
|
|
|
|
depends="libXdmcp-devel libXau-devel libxcb>=${version}"
|
|
|
|
short_desc="${short_desc} -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libxcb_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|