void-packages/srcpkgs/libXrandr/template

31 lines
789 B
Bash

# Template file for 'libXrandr'
pkgname=libXrandr
version=1.5.2
revision=1
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="xorgproto libXext-devel libXrender-devel"
short_desc="X RandR Library from X.org"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="$XORG_SITE"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"
checksum=8aea0ebe403d62330bb741ed595b53741acf45033d3bda1792f1d4cc3daee023
post_install() {
vlicense COPYING
}
libXrandr-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}