# Template build file for 'libXp'.
pkgname=libXp
version=1.0.0
revision=5
build_style=gnu-configure
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
long_desc="
 The X Print Service Extension Library (libXp) provides public APIs
 to allow client applications to render to non-display devices.
 It can query about printers, send jobs, and more."

libXp-devel_package() {
	depends="libXp>=${version}"
	short_desc+=" -- development files"
	pkg_install() {
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove usr/share
	}
}

libXp_package() {
	pkg_install() {
		vmove usr
	}
}
