diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2017-02-04 03:21:41 +0200 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2017-02-04 03:30:55 +0200 |
commit | 4228c7655fd1d10ee2b40235b8da08c787bddbad (patch) | |
tree | 4318e7c2dd49fa7c96c8909e7cda0b2c336282e6 | |
parent | app-crypt/loop-aes-losetup: eapi bump (diff) | |
download | gentoo-4228c7655fd1d10ee2b40235b8da08c787bddbad.tar.gz gentoo-4228c7655fd1d10ee2b40235b8da08c787bddbad.tar.bz2 gentoo-4228c7655fd1d10ee2b40235b8da08c787bddbad.zip |
app-crypt/p11-kit: eapi bump
Package-Manager: portage-2.3.3
-rw-r--r-- | app-crypt/p11-kit/p11-kit-0.23.2-r1.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/app-crypt/p11-kit/p11-kit-0.23.2-r1.ebuild b/app-crypt/p11-kit/p11-kit-0.23.2-r1.ebuild new file mode 100644 index 000000000000..d9eb20cf02cf --- /dev/null +++ b/app-crypt/p11-kit/p11-kit-0.23.2-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils multilib-minimal + +DESCRIPTION="Provides a standard configuration setup for installing PKCS#11" +HOMEPAGE="https://p11-glue.freedesktop.org/p11-kit.html" +SRC_URI="https://p11-glue.freedesktop.org/releases/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="+asn1 debug +libffi +trust" +REQUIRED_USE="trust? ( asn1 )" + +RDEPEND="asn1? ( >=dev-libs/libtasn1-3.4[${MULTILIB_USEDEP}] ) + libffi? ( >=dev-libs/libffi-3.0.0[${MULTILIB_USEDEP}] ) + trust? ( app-misc/ca-certificates )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +pkg_setup() { + # disable unsafe tests, bug#502088 + export FAKED_MODE=1 +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable trust trust-module) \ + $(use_with trust trust-paths ${EPREFIX}/etc/ssl/certs/ca-certificates.crt) \ + $(use_enable debug) \ + $(use_with libffi) \ + $(use_with asn1 libtasn1) + + if multilib_is_native_abi; then + # re-use provided documentation + ln -s "${S}"/doc/manual/html doc/manual/html || die + fi +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --modules +} |