blob: 74b6447edf476f0d1ff781c66a2b89a25bed8c6f [file] [log] [blame]
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=2
CROS_WORKON_COMMIT="80fbc6c5d03ba9c192f0e406ee0b6ec60711d603"
inherit toolchain-funcs cros-workon
DESCRIPTION="Chrome OS root block device tool/library"
HOMEPAGE="http://src.chromium.org"
SRC_URI=""
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 arm"
IUSE=""
src_compile() {
tc-getCC
emake || die
}
src_install() {
dodir /usr/bin
exeinto /usr/bin
doexe ${S}/rootdev
dodir /usr/lib
dolib.so librootdev.so*
dodir /usr/include/rootdev
insinto /usr/include/rootdev
doins rootdev.h
}