blob: 8caae452e032472230d3e077be82ba5a994122ec [file] [log] [blame]
# 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="07c1988df57b15d15d299df3901e54c0a7e07fd1"
CROS_WORKON_TREE="861866a23d5bc13b82bf1c7e0d4f3fd7214ffb9c"
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=""
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
}