blob: 704143aa6582d5b581a65761f4e3e170387b8e87 [file] [log] [blame]
# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_COMMIT="5679c4d6964451ca6af58ada3795a325f7971175"
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="amd64 arm x86"
IUSE=""
DEPEND="sys-apps/util-linux" # util-linux is for libuuid.
RDEPEND="sys-apps/flashrom"
# This target list should be architecture specific
# (no ACPI stuff on ARM for instance)
TARGETS='vpd util/dump_vpd_log'
src_compile() {
tc-export CXX PKG_CONFIG
emake CC="$(tc-getCC)" all || die "compilation failed."
}
src_install() {
dosbin ${TARGETS} || die "installation failed ($?)"
}
# disabled due to buildbot failure
#src_test() {
# emake test || die "test failed."
#}