void-packages/srcpkgs/libXxf86dga/template

31 lines
800 B
Bash

# Template file for 'libXxf86dga'
pkgname=libXxf86dga
version=1.1.6
revision=1
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="xorgproto libXext-devel"
short_desc="Library for the XFree86-DGA X extension"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="$XORG_SITE"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.xz"
checksum=be44427579808fe3a217d59f51cae756a26913eb6e4c8738ccab65ff56d7980f
post_install() {
vlicense COPYING
}
libXxf86dga-devel_package() {
depends="xorgproto libXext-devel ${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
}
}