void-packages/srcpkgs/libXxf86dga/template

31 lines
804 B
Bash

# Template file for 'libXxf86dga'
pkgname=libXxf86dga
version=1.1.5
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="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="$XORG_SITE"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"
checksum=2b98bc5f506c6140d4eddd3990842d30f5dae733b64f198a504f07461bdb7203
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
}
}