From a4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 28 Apr 2018 20:02:04 +0100 Subject: gentoo resync : 28.04.2018 --- app-crypt/tpm-tools/tpm-tools-1.3.9.1.ebuild | 51 ++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 app-crypt/tpm-tools/tpm-tools-1.3.9.1.ebuild (limited to 'app-crypt/tpm-tools/tpm-tools-1.3.9.1.ebuild') diff --git a/app-crypt/tpm-tools/tpm-tools-1.3.9.1.ebuild b/app-crypt/tpm-tools/tpm-tools-1.3.9.1.ebuild new file mode 100644 index 000000000000..4b922742df44 --- /dev/null +++ b/app-crypt/tpm-tools/tpm-tools-1.3.9.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools flag-o-matic ltprune + +DESCRIPTION="TrouSerS' support tools for the Trusted Platform Modules" +HOMEPAGE="http://trousers.sourceforge.net" +SRC_URI="mirror://sourceforge/trousers/${PN}/${P}.tar.gz" + +LICENSE="CPL-1.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~s390 ~sh ~x86" +IUSE="libressl nls pkcs11 debug" + +COMMON_DEPEND=" + >=app-crypt/trousers-0.3.0 + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + pkcs11? ( dev-libs/opencryptoki ) + " +RDEPEND="${COMMON_DEPEND} + nls? ( virtual/libintl )" +DEPEND="${COMMON_DEPEND} + nls? ( sys-devel/gettext )" + +S="${WORKDIR}" + +src_prepare() { + default + + sed -i -r \ + -e '/CFLAGS/s/ -m64//' \ + configure.ac || die + + eautoreconf +} + +src_configure() { + append-cppflags $(usex debug -DDEBUG -DNDEBUG) + + econf \ + $(use_enable nls) \ + $(use pkcs11 || echo --disable-pkcs11-support) +} + +src_install() { + default + prune_libtool_files +} -- cgit v1.2.3