void-packages/srcpkgs/libXrandr/template
2013-09-13 10:26:48 +02:00

32 lines
811 B
Text

# Template build file for 'libXrandr'.
pkgname=libXrandr
version=1.4.2
revision=1
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=caa7b31ac769be51a532343c65376f1d4df3f307afaed58e34fb5e82e8b825ad
libXrandr-devel_package() {
depends="libXext-devel libXrender-devel randrproto>=1.4.0
${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share
}
}
libXrandr_package() {
pkg_install() {
vmove usr
}
}