New package: gnupg-agent-2.0.26.
This commit is contained in:
parent
91dc20e791
commit
9b80d9f617
2 changed files with 52 additions and 0 deletions
27
srcpkgs/gnupg-agent/patches/pth-prefix.patch
Normal file
27
srcpkgs/gnupg-agent/patches/pth-prefix.patch
Normal file
|
@ -0,0 +1,27 @@
|
|||
--- m4/gnupg-pth.m4.orig
|
||||
+++ m4/gnupg-pth.m4
|
||||
@@ -51,9 +51,9 @@ AC_DEFUN([GNUPG_PTH_VERSION_CHECK],
|
||||
_gnupg_pth_save_cflags=$CFLAGS
|
||||
_gnupg_pth_save_ldflags=$LDFLAGS
|
||||
_gnupg_pth_save_libs=$LIBS
|
||||
- CFLAGS="$CFLAGS `$PTH_CONFIG --cflags`"
|
||||
- LDFLAGS="$LDFLAGS `$PTH_CONFIG --ldflags`"
|
||||
- LIBS="$LIBS `$PTH_CONFIG --libs --all`"
|
||||
+ CFLAGS=
|
||||
+ LDFLAGS=
|
||||
+ LIBS=-lpth
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pth.h>
|
||||
],
|
||||
[[ pth_init ();]])],
|
||||
@@ -92,9 +92,8 @@ AC_DEFUN([GNUPG_PATH_PTH],
|
||||
if test "$PTH_CONFIG" != "no"; then
|
||||
GNUPG_PTH_VERSION_CHECK($tmp)
|
||||
if test $have_pth = yes; then
|
||||
- PTH_CFLAGS=`$PTH_CONFIG --cflags`
|
||||
- PTH_LIBS=`$PTH_CONFIG --ldflags`
|
||||
- PTH_LIBS="$PTH_LIBS `$PTH_CONFIG --libs --all`"
|
||||
+ PTH_CFLAGS=
|
||||
+ PTH_LIBS=-lpth
|
||||
AC_DEFINE(HAVE_PTH, 1,
|
||||
[Defined if the GNU Pth is available])
|
||||
fi
|
25
srcpkgs/gnupg-agent/template
Normal file
25
srcpkgs/gnupg-agent/template
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Template file for 'gnupg-agent'
|
||||
pkgname=gnupg-agent
|
||||
version=2.0.26
|
||||
revision=1
|
||||
wrksrc="gnupg-${version}"
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-agent-only --disable-rpath --disable-doc
|
||||
--with-libgpg-error-prefix=$XBPS_CROSS_BASE/usr
|
||||
--with-libgcrypt-prefix=$XBPS_CROSS_BASE/usr
|
||||
--with-libassuan-prefix=$XBPS_CROSS_BASE/usr
|
||||
--with-ksba-prefix=$XBPS_CROSS_BASE/usr
|
||||
--with-pth-prefix=$XBPS_CROSS_BASE/usr"
|
||||
hostmakedepends="automake"
|
||||
makedepends="libassuan-devel libgcrypt-devel libksba-devel pth-devel"
|
||||
depends=""
|
||||
short_desc="The GNU Privacy Guard password agent"
|
||||
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
||||
license="GPL-3"
|
||||
homepage="http://www.gnupg.org/"
|
||||
distfiles="ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-${version}.tar.bz2"
|
||||
checksum=7758e30dc382ae7a7167ed41b7f936aa50af5ea2d6fccdef663b5b750b65b8e0
|
||||
|
||||
pre_configure() {
|
||||
./autogen.sh
|
||||
}
|
Loading…
Reference in a new issue