void-packages/srcpkgs/libXxf86vm/template

31 lines
787 B
Bash

# Template build file for 'libXxf86vm'.
pkgname=libXxf86vm
version=1.1.4
revision=3
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="xorgproto libXext-devel"
short_desc="Library for the XFree86-VidMode X extension"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=afee27f93c5f31c0ad582852c0fb36d50e4de7cd585fcf655e278a633d85cd57
post_install() {
vlicense COPYING
}
libXxf86vm-devel_package() {
depends="${makedepends} ${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
}
}