void-packages/srcpkgs/libXxf86misc/template

35 lines
1022 B
Plaintext

# Template build file for 'libXxf86misc'.
pkgname=libXxf86misc
version=1.0.1
revision=5
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="xproto xextproto xf86miscproto libX11-devel libXext-devel"
short_desc="Library for the XFree86-Misc X extension"
homepage="http://xorg.freedesktop.org"
license="MIT"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=2122d67d49aaa06eeaeb3db173ea8a7048f3b52665e5135874bc5cadada91289
long_desc="
This library from the modular X.org project provides an interface
to the XFree86-Misc extension which allows various server settings
to be queried and changed dynamically."
libXxf86misc-devel_package() {
depends="xproto xextproto xf86miscproto libX11-devel libXxf86misc>=${version}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove usr/share
}
}
libXxf86misc_package() {
pkg_install() {
vmove usr
}
}