blob: 8b27e1508adab789e65ff5e78b60e35ba4419ce6 [file] [log] [blame]
# Copyright 2016 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
CROS_WORKON_COMMIT="cbd49ae409608324b54a545e4e7fbc3261a1aa43"
CROS_WORKON_TREE="59995a05a50902a432a1f996701a8b0a93f9042f"
CROS_WORKON_INCREMENTAL_BUILD=1
CROS_WORKON_LOCALNAME="platform2"
CROS_WORKON_PROJECT="chromiumos/platform2"
CROS_WORKON_OUTOFTREE_BUILD=1
PLATFORM_SUBDIR="arc-networkd"
inherit cros-workon libchrome platform user
DESCRIPTION="ARC connectivity management daemon"
HOMEPAGE="http://www.chromium.org/"
LICENSE="BSD-Google"
SLOT=0
KEYWORDS="*"
COMMON_DEPEND="
chromeos-base/libbrillo
dev-libs/protobuf
net-libs/libndp
"
RDEPEND="${COMMON_DEPEND}"
DEPEND="
${COMMON_DEPEND}
chromeos-base/shill-client
chromeos-base/system_api
"
src_install() {
# Main binary.
dobin "${OUT}"/arc-networkd
}
pkg_preinst() {
# Service account used for privilege separation.
enewuser arc-networkd
enewgroup arc-networkd
}