Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(453)

Side by Side Diff: app-crypt/tpm-tools/tpm-tools-1.3.5-r1.ebuild

Issue 6792011: app-crypt/tpm-tools: backport tpm-tools-1.3.5-r1 from main Gentoo (Closed) Base URL: http://git.chromium.org/git/portage-stable.git@master
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « app-crypt/tpm-tools/files/tpm-tools-1.3.1-gold.patch ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-crypt/tpm-tools/tpm-tools-1.3.5-r1.ebuild ,v 1.1 2011/03/31 22:19:40 flameeyes Exp $
4
5 EAPI=4
6 inherit autotools eutils flag-o-matic
7
8 DESCRIPTION="TrouSerS' support tools for the Trusted Platform Modules"
9 HOMEPAGE="http://trousers.sourceforge.net"
10 SRC_URI="mirror://sourceforge/trousers/${P}.tar.gz"
11 LICENSE="CPL-1.0"
12 SLOT="0"
13 KEYWORDS="~amd64 ~x86"
14 IUSE="nls pkcs11 debug"
15
16 COMMON_DEPEND="
17 >=app-crypt/trousers-0.3.0
18 dev-libs/openssl
19 pkcs11? ( dev-libs/opencryptoki )
20 "
21 RDEPEND="${COMMON_DEPEND}
22 nls? ( virtual/libintl )"
23 DEPEND="${COMMON_DEPEND}
24 nls? ( sys-devel/gettext )"
25
26 src_prepare() {
27 sed -i -e "s/-Werror //" configure.in || die "Sed failed"
28 epatch "${FILESDIR}"/${PN}-1.3.1-gold.patch
29
30 eautoreconf
31 }
32
33 src_configure() {
34 local myconf="$(use_enable nls)"
35
36 # don't use --enable-pkcs11-support, configure is a mess.
37 use pkcs11 || myconf+=" --disable-pkcs11-support"
38
39 use debug && append-flags -DDEBUG || append-flags -DNDEBUG
40
41 econf ${myconf}
42 }
43
44 src_install() {
45 emake DESTDIR="${D}" install || die "emake install failed"
46 dodoc README
47 }
OLDNEW
« no previous file with comments | « app-crypt/tpm-tools/files/tpm-tools-1.3.1-gold.patch ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698