void-packages/srcpkgs/libXp/template

31 lines
780 B
Text

# Template build file for 'libXp'.
pkgname=libXp
version=1.0.0
revision=6
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="xproto xextproto printproto libX11-devel 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@gmail.com>"
checksum=7e64b1550ce85b05762e960459ac676a0406c786756b200ff29c57f84bce9cae
libXp-devel_package() {
depends="libXp>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share
}
}
libXp_package() {
pkg_install() {
vmove all
}
}