blob: 3177c188da7be8024f03baf4f1a29836d73111f3 [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="696ce08c65c8becb0d24a79078712a000b7e0313"
CROS_WORKON_TREE="0b10a1e56576e4ead61995117b80e3536e775366"
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"
SLOT="0"
KEYWORDS="amd64"
IUSE=""
src_configure() {
find . -type l -exec rm {} \; &&
rm -fr WATCHLISTS inherit-review-settings-ok lib/shflags ||
die "Couldn't clean directory."
}
src_install() {
# Install package files
exeinto /usr/lib/crosutils
doexe * || die "Could not install shared files."
# Install libraries
insinto /usr/lib/crosutils/lib
doins lib/* || die "Could not install library files"
}