blob: ee620b3e008fd39f99c4b3ef604fe51e3fbdd26a [file] [log] [blame]
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
CROS_WORKON_COMMIT="0e307b1a9c9b1d20e1c68b48b986ed517a85fe17"
CROS_WORKON_TREE="716fb5b3257c3a3f6e6b24acf256b02bcc3516d3"
CROS_WORKON_PROJECT="chromiumos/platform/vpd"
inherit cros-workon
DESCRIPTION="ChromeOS vital product data utilities"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
IUSE=""
# util-linux is for libuuid.
DEPEND="sys-apps/util-linux"
# shflags for dump_vpd_log.
# chromeos-activate-date for ActivateDate upstart and script.
RDEPEND="sys-apps/flashrom
dev-util/shflags
virtual/chromeos-activate-date"
src_configure() {
cros-workon_src_configure
}
src_compile() {
tc-export CC
emake all
}
src_install() {
# This target list should be architecture specific
# (no ACPI stuff on ARM for instance)
dosbin vpd vpd_s util/dump_vpd_log
}
# disabled due to buildbot failure
#src_test() {
# emake test || die "test failed."
#}