void-packages/srcpkgs/libXxf86vm/template

34 lines
1,017 B
Text

# Template build file for 'libXxf86vm'.
pkgname=libXxf86vm
version=1.1.2
revision=3
build_style=gnu-configure
configure_args="--disable-static"
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=a564172fb866b1b587bbccb7d041088931029845245e0d15c32ca7f1bb48fc84
long_desc="
These functions provide an interface to the server extension
XFree86-VidModeExtension which allows the video modes to be queried
and adjusted dynamically and mode switching to be controlled."
libXxf86vm-devel_package() {
depends="xf86vidmodeproto libX11-devel libXext-devel ${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share
}
}
libXxf86vm_package() {
pkg_install() {
vmove usr
}
}