| # Copyright (c) 2014 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI=4 |
| CROS_WORKON_COMMIT="8fe50118b0468e547aff55de9ed0b68793639559" |
| CROS_WORKON_TREE="8020ef78250a8dd2bfe4a39d1684e25ca346036a" |
| CROS_WORKON_PROJECT="chromiumos/platform/dev-util" |
| CROS_WORKON_LOCALNAME="dev" |
| CROS_WORKON_OUTOFTREE_BUILD="1" |
| |
| inherit cros-workon python |
| |
| DESCRIPTION="Server to cache Chromium OS build artifacts from Google Storage." |
| HOMEPAGE="http://dev.chromium.org/chromium-os/how-tos-and-troubleshooting/using-the-dev-server" |
| |
| LICENSE="BSD-Google" |
| SLOT="0" |
| KEYWORDS="*" |
| |
| RDEPEND="!<chromeos-base/cros-devutils-0.0.2 |
| chromeos-base/devserver-deps" |
| DEPEND=" |
| dev-python/psutil |
| " |
| |
| src_install() { |
| emake install DESTDIR="${D}" |
| |
| insinto "$(python_get_sitedir)/update_payload" |
| doins $(printf '%s\n' host/lib/update_payload/*.py | grep -v unittest) |
| doins host/lib/update_payload/update-payload-key.pub.pem |
| dobin host/start_devserver |
| |
| # Install Mob* Monitor checkfiles for the devserver. |
| insinto "/etc/mobmonitor/checkfiles/devserver/" |
| doins -r "${S}/checkfiles/devserver/"* |
| } |