# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=4 inherit mount-boot flag-o-matic DESCRIPTION="open source, pre- kernel/VMM module " HOMEPAGE="http://tboot.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="" DEPEND="app-crypt/trousers" RDEPEND="${DEPEND}" MAKEOPTS="-j1" filter-ldflags "-Wl,-O1" "-Wl,--as-needed" src_compile() { emake dist } src_install() { einstall || die "install failed" for d in docs/policy_v1.txt docs/policy_v2.txt docs/txt-info.txt lcptools/lcptools2.txt lcptools/Linux_LCP_Tools_User_Manual.pdf do dodoc $d done cd ${S}/dist dodoc README dosbin usr/sbin/* insinto /boot doins boot/* } pkg_postinst() { einfo "In order to use tboot, you must download the Authenticated Code" einfo "Module for your system from Intel:" einfo "http://software.intel.com/en-us/articles/intel-trusted-execution-technology/" einfo "" einfo "See also /Documentation/intel_txt.txt" }