2014-11-10 22:01:40 +00:00
|
|
|
# Template file for 'gnupg2'
|
|
|
|
pkgname=gnupg2
|
2015-02-12 08:29:24 +00:00
|
|
|
version=2.1.2
|
2014-12-17 07:01:48 +00:00
|
|
|
revision=1
|
2014-11-10 22:01:40 +00: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"
|
|
|
|
short_desc="The GNU Privacy Guard"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://www.gnupg.org/"
|
|
|
|
distfiles="ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-${version}.tar.bz2"
|
2015-02-12 08:29:24 +00:00
|
|
|
checksum=404f5a43d591dfe41f0ffb204b49a1533b67d77bc1fd68febd7e447575616792
|
2014-11-10 22:01:40 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|