libXp: move so symlinks to -devel pkg; cross build support.

This commit is contained in:
Juan RP 2013-12-18 09:11:01 +01:00
parent 768edfec57
commit 92095e8fb4

View file

@ -1,8 +1,9 @@
# Template build file for 'libXp'.
pkgname=libXp
version=1.0.0
revision=5
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"
@ -11,23 +12,20 @@ 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}"
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 usr
vmove all
}
}