void-packages/srcpkgs/gpgme/template

30 lines
894 B
Bash

# Template file for 'gpgme'
pkgname=gpgme
version=1.6.0
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=b09de4197ac280b102080e09eaec6211d081efff1963bf7821cf8f4f9916099d
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"
}
}