void-packages/srcpkgs/libXrender/template

30 lines
744 B
Bash

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