summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/tpm-module/tpm-module-2.0.ebuild')
-rw-r--r--app-crypt/tpm-module/tpm-module-2.0.ebuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/app-crypt/tpm-module/tpm-module-2.0.ebuild b/app-crypt/tpm-module/tpm-module-2.0.ebuild
index ffd869c9470d..485d2cecde36 100644
--- a/app-crypt/tpm-module/tpm-module-2.0.ebuild
+++ b/app-crypt/tpm-module/tpm-module-2.0.ebuild
@@ -1,25 +1,27 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/tpm-module/tpm-module-2.0.ebuild,v 1.1 2005/02/03 11:16:08 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/tpm-module/tpm-module-2.0.ebuild,v 1.2 2007/02/23 15:30:10 alonbl Exp $
inherit linux-mod
MY_P=tpm-${PV}
-S=${WORKDIR}/${MY_P}
DESCRIPTION="Driver for TPM chips"
-
HOMEPAGE="http://www.research.ibm.com/gsal/tcpa/"
SRC_URI="http://www.research.ibm.com/gsal/tcpa/TPM-${PV}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~x86"
-
IUSE=""
-BUILD_PARAMS="KDIR=${KV_DIR}"
-BUILD_TARGETS="default"
-MODULE_NAMES="tpm(crypto:)"
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+ BUILD_PARAMS="KDIR=${KV_DIR}"
+ BUILD_TARGETS="default"
+ MODULE_NAMES="tpm(crypto:)"
+}
src_unpack() {
unpack ${A}