blob: c9077aca3ff63075a00711f6df0974e53914480d [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="5e58feaa585e270327e99ed837df80b856869747"
CROS_WORKON_TREE="14c61c322d8f56d8f8d02a748f04fbca53ded7ab"
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/*
}