void-packages/srcpkgs/libXp/template

30 lines
750 B
Bash

# Template build file for 'libXp'.
pkgname=libXp
version=1.0.3
revision=2
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="xorgproto libXext-devel"
short_desc="X Print Service Extension Library"
homepage="http://xorg.freedesktop.org"
license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
checksum=7f360c9905849c3587d48efc0f0ecbc852c19f61a52b18530d6b005cb9148c57
post_install() {
vlicense COPYING
}
libXp-devel_package() {
depends="${makedepends} libXp-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share
}
}