void-packages/srcpkgs/gpgme/template

30 lines
894 B
Bash

# Template file for 'gpgme'
pkgname=gpgme
version=1.5.4
revision=1
build_style=gnu-configure
configure_args="--enable-fd-passing --disable-gpgconf-test
--disable-gpg-test --disable-gpgsm-test
--with-libgpg-error-prefix=$XBPS_CROSS_BASE/usr
--with-libassuan-prefix=$XBPS_CROSS_BASE/usr"
hostmakedepends="gnupg"
makedepends="libgpg-error-devel libassuan-devel"
depends="gnupg"
short_desc="GnuPG Made Easy"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://www.gnupg.org/related_software/gpgme/"
distfiles="ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-$version.tar.bz2"
checksum=bb38c0ec8815c9e94e6047b484984808a8dad9d6bec8df33dc5339fd55ffea6c
gpgme-devel_package() {
depends="${makedepends} gpgme>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/gpgme-config
vmove usr/include
vmove usr/share
vmove "usr/lib/*.so"
}
}