From 88ebe56470c37b02a044e1091cad6b2df0f3be8f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 11 May 2018 16:02:49 +0100 Subject: gentoo resync : 11.05.2018 --- dev-libs/softhsm/softhsm-2.4.0.ebuild | 49 +++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 dev-libs/softhsm/softhsm-2.4.0.ebuild (limited to 'dev-libs/softhsm/softhsm-2.4.0.ebuild') diff --git a/dev-libs/softhsm/softhsm-2.4.0.ebuild b/dev-libs/softhsm/softhsm-2.4.0.ebuild new file mode 100644 index 000000000000..419485df8258 --- /dev/null +++ b/dev-libs/softhsm/softhsm-2.4.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit ltprune + +DESCRIPTION="A software PKCS#11 implementation" +HOMEPAGE="https://www.opendnssec.org/" +SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz" + +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="bindist libressl migration-tool test" +SLOT="2" +LICENSE="BSD" + +RDEPEND=" + sys-devel/gcc:=[cxx] + migration-tool? ( dev-db/sqlite:3 ) + !libressl? ( dev-libs/openssl:=[bindist=] ) + libressl? ( dev-libs/libressl ) + !=dev-libs/softhsm-2.0.0:0 +" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( dev-util/cppunit ) +" + +DOCS=( + NEWS + README.md +) + +src_configure() { + econf \ + --disable-static \ + --localstatedir="${EROOT}var" \ + --with-crypto-backend=openssl \ + --disable-p11-kit \ + $(use_enable !bindist ecc) \ + $(use_enable !libressl gost) \ + $(use_with migration-tool migrate) +} + +src_install() { + default + keepdir "${EROOT}/var/lib/softhsm/tokens" + prune_libtool_files --modules +} -- cgit v1.2.3