blob: 0ed9cb7085fd448d9d3a9262869a35ff4ebaece5 [file] [log] [blame]
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
# $Header$
CROS_WORKON_COMMIT="066c7f963b3ef733716251b666e0af0afd03b4fe"
CROS_WORKON_TREE="e1d7a6d5d9b3eb03d183c7ec73a33c77c53edd2b"
EAPI="2"
CROS_WORKON_PROJECT="chromiumos/platform/tpm_lite"
inherit cros-workon autotools
inherit cros-workon base
inherit cros-workon eutils
inherit cros-workon linux-info
DESCRIPTION="TPM Light Command Library testsuite"
LICENSE="GPL-2"
HOMEPAGE="http://www.chromium.org/"
SLOT="0"
KEYWORDS="amd64 arm x86"
DEPEND="app-crypt/trousers"
CROS_WORKON_LOCALNAME="tpm_lite/src"
src_compile() {
pushd src
tc-export CC CXX LD AR RANLIB NM
emake cross USE_TPM_EMULATOR=0 || die emake failed
popd
}
src_install() {
pushd src
dobin testsuite/tpmtest_*
dolib tlcl/libtlcl.a
popd
}