# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-crypt/tpm-tools/tpm-tools-1.3.1.ebuild,v 1.1 2008/01/07 20:05:17 alonbl Exp $ inherit autotools DESCRIPTION="TrouSerS' support tools for the Trusted Platform Modules" HOMEPAGE="http://trousers.sf.net" SRC_URI="mirror://sourceforge/trousers/${P}.tar.gz" LICENSE="CPL-1.0" SLOT="0" KEYWORDS="~x86" IUSE="nls" COMMON_DEPEND=">=app-crypt/trousers-0.3.0" DEPEND="${COMMON_DEPEND} nls? ( virtual/libintl )" # TODO: add optionnal opencryptoki support DEPEND="${COMMON_DEPEND} nls? ( sys-devel/gettext )" src_compile() { econf $(use_enable nls) || die "econf failed" emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "make install failed" dodoc README }