blob: 1bcad8dc3f50a122b7f24073f6044f53da412501 [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="abef3bd3de00d6b83ddc926a60d47c6e226c7e8a"
CROS_WORKON_TREE="e63c04c8a4d77ac5e14dea675d357330e5d52db1"
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/*
}