| # 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="772b637823174b1143289b9152450ad4a5075945" |
| CROS_WORKON_TREE="3c34dc8dee77b57600d369b873ab380ec50a4ccb" |
| 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/* |
| } |