mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-crypt/tpm-tools: cleanup old
Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
This commit is contained in:
@@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools flag-o-matic
|
||||
|
||||
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"
|
||||
|
||||
DEPEND=">=app-crypt/trousers-0.3.0
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
pkcs11? ( dev-libs/opencryptoki )"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="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
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user