termux-packages/packages/gpgme/build.sh

20 lines
818 B
Bash
Raw Normal View History

2017-05-13 19:08:18 +02:00
TERMUX_PKG_HOMEPAGE=https://www.gnupg.org/related_software/gpgme/
2015-06-13 01:03:31 +02:00
TERMUX_PKG_DESCRIPTION="Library designed to make access to GnuPG easier"
TERMUX_PKG_DEPENDS="gnupg2, libassuan, libgpg-error"
TERMUX_PKG_DEVPACKAGE_DEPENDS="libgpg-error"
2017-05-13 19:08:18 +02:00
TERMUX_PKG_VERSION=1.9.0
TERMUX_PKG_REVISION=1
2015-06-13 01:03:31 +02:00
TERMUX_PKG_SRCURL=ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-${TERMUX_PKG_VERSION}.tar.bz2
2017-05-13 19:08:18 +02:00
TERMUX_PKG_SHA256=1b29fedb8bfad775e70eafac5b0590621683b2d9869db994568e6401f4034ceb
2015-06-13 01:03:31 +02:00
# Use "--disable-gpg-test" to avoid "No rule to make target `../../src/libgpgme-pthread.la":
# Use "--enable-languages=no" to only build the C library.
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-gpg-test
--enable-languages=no
--with-gpg=$TERMUX_PREFIX/bin/gpg2
--without-g13
--without-gpgconf
--without-gpgsm
"
TERMUX_PKG_INCLUDE_IN_DEVPACKAGE="bin/gpgme-config"