blob: 58c5cb668297557012e96872e3f4b50820d0d465 [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=4
CROS_WORKON_COMMIT="aba21ffeb9e07c54c891f012dbc9bd23d7df6dc6"
CROS_WORKON_TREE="2d48071b58fc5e7af7ac06e3a3c5af0a04cc846f"
CROS_WORKON_PROJECT="chromiumos/platform/crosutils"
CROS_WORKON_LOCALNAME="../scripts/"
inherit cros-workon
DESCRIPTION="Chromium OS build utilities"
HOMEPAGE="http://www.chromium.org/chromium-os"
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="*"
IUSE=""
src_unpack() {
cros-workon_src_unpack
# Clean out files we don't use.
cd "${S}"
find -type l -delete
rm -rf PRESUBMIT.cfg WATCHLISTS inherit-review-settings-ok lib/shflags
}
src_install() {
exeinto /usr/lib/crosutils
doexe *
insinto /usr/lib/crosutils/lib
doins lib/*
}