# Template build file for 'libXcomposite'.
pkgname=libXcomposite
version=0.4.4
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xproto fixesproto compositeproto libXfixes-devel"
short_desc="X Composite Library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://xorg.freedesktop.org"
license="MIT/X11"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"
checksum=ede250cd207d8bee4a338265c3007d7a68d5aca791b6ac41af18e9a2aeb34178

libXcomposite-devel_package() {
	depends="xproto compositeproto libXfixes-devel libX11-devel
		${sourcepkg}>=${version}"
	short_desc="${short_desc} -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove usr/share
	}
}

libXcomposite_package() {
	pkg_install() {
		vmove usr
	}
}
