void-packages/srcpkgs/libXp/template

30 lines
754 B
Bash

# Template build file for 'libXp'.
pkgname=libXp
version=1.0.4
revision=1
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.xz"
maintainer="Orphaned <orphan@voidlinux.org>"
checksum=1f19e3b8e82a34a8fd9889a7d9af0abe8588cb03fb57c37c569634cf3b9df1a4
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
}
}