void-packages/srcpkgs/libassuan/template
2013-07-09 20:50:46 +02:00

37 lines
1,022 B
Text

# Template file for 'libassuan'
pkgname=libassuan
version=2.1.1
revision=1
build_style=gnu-configure
makedepends="libgpg-error-devel"
short_desc="IPC library used by some GnuPG related software"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.gnupg.org/related_software/libassuan"
distfiles="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$version.tar.bz2"
checksum=23e2d67779b88e90d29fe1df6b157109f1c2a647d0f1b2a0f4295bb3c0b2039d
long_desc="
Libassuan is a small library implementing the so-called Assuan protocol. This
protocol is used for IPC between most newer GnuPG components. Both, server
and client side functions are provided."
if [ "$CROSS_BUILD" ]; then
hostmakedepends="libgpg-error-devel"
fi
libassuan-devel_package() {
depends="libgpg-error-devel libassuan-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/share
}
}
libassuan_package() {
pkg_install() {
vmove usr
}
}