2014-11-10 23:01:40 +01:00
|
|
|
# Template file for 'gnupg2'
|
|
|
|
pkgname=gnupg2
|
|
|
|
version=2.1.0
|
2014-11-11 18:21:14 +01:00
|
|
|
revision=2
|
2014-11-10 23:01:40 +01:00
|
|
|
wrksrc="gnupg-${version}"
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--sbindir=/usr/bin
|
|
|
|
--with-libgcrypt-prefix=${XBPS_CROSS_BASE}
|
|
|
|
--with-ksba-prefix=${XBPS_CROSS_BASE}
|
|
|
|
--with-npth-prefix=${XBPS_CROSS_BASE}
|
|
|
|
--with-libassuan-prefix=${XBPS_CROSS_BASE}"
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="zlib-devel libldap-devel libcurl-devel readline-devel>=6.3
|
|
|
|
libusb-compat-devel libgpg-error-devel>=1.15 libgcrypt-devel libassuan-devel
|
|
|
|
libksba-devel npth-devel gnutls-devel"
|
|
|
|
depends="pinentry"
|
|
|
|
replaces="gnupg-agent>=0"
|
|
|
|
short_desc="The GNU Privacy Guard"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://www.gnupg.org/"
|
2014-11-12 10:07:37 +01:00
|
|
|
update_pkgname=gnupg
|
2014-11-10 23:01:40 +01:00
|
|
|
distfiles="ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-${version}.tar.bz2"
|
|
|
|
checksum=16a8c3f50a15bf37d2dfb1c5e4bb3ec533e1d0b6a4043ff3680a376a3ad4058b
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
# remove conflicts with gnupg 1.
|
|
|
|
rm ${DESTDIR}/usr/share/man/man1/gpg-zip.1
|
|
|
|
rm ${DESTDIR}/usr/share/man/man7/gnupg.7
|
|
|
|
|
|
|
|
vmkdir usr/share/examples
|
|
|
|
mv ${DESTDIR}/usr/share/doc/gnupg/examples ${DESTDIR}/usr/share/examples/gnupg2
|
|
|
|
|
|
|
|
rm -rf ${DESTDIR}/usr/share/doc/gnupg
|
|
|
|
}
|