# Template build file for 'libXxf86vm'.
pkgname=libXxf86vm
version=1.1.3
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xf86vidmodeproto libX11-devel libXext-devel"
short_desc="Library for the XFree86-VidMode X extension"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=da5e86c32ee2069b9e6d820e4c2e4242d4877cb155a2b2fbf2675a1480ec37b8

libXxf86vm-devel_package() {
	depends="xf86vidmodeproto libX11-devel libXext-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
		vmove usr/share
	}
}
