void-packages/srcpkgs/libXrandr/template

32 lines
801 B
Plaintext

# Template build file for 'libXrandr'.
pkgname=libXrandr
version=1.4.0
revision=4
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="randrproto>=1.4.0 libXext-devel libXrender-devel"
short_desc="X RandR Library from X.org"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="${XORG_SITE}"
license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=033ad0ac2f012afb05268660f6d78705c85f84689f92fa7b47ce12959b15f5c3
libXrandr-devel_package() {
depends="libXext-devel libXrender-devel randrproto>=1.4.0
${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share
}
}
libXrandr_package() {
pkg_install() {
vmove usr
}
}