blob: 693882f644d5d1a3df38315de45cc42746c81edd [file] [log] [blame]
# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=5
CROS_WORKON_COMMIT="842da743f7cb7b233320bc0d3bf64ed0a9ee1d48"
CROS_WORKON_TREE="1c05f07107a6861e26170c4cbd90fe27b30a204b"
CROS_WORKON_LOCALNAME="platform2"
CROS_WORKON_PROJECT="chromiumos/platform2"
CROS_WORKON_SUBTREE="biod/study"
inherit cros-workon
DESCRIPTION="Chromium OS Fingerprint user study software"
HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform2/+/master/biod/study"
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="*"
DEPEND="dev-lang/python"
RDEPEND=""
src_unpack() {
cros-workon_src_unpack
S+="/biod/study"
}
src_install() {
# install the study local server
exeinto /opt/google/fingerprint_study
newexe study_serve.py study_serve
# Content to serve
insinto /opt/google/fingerprint_study/html
doins html/index.html
doins html/bootstrap-3.3.7.min.css
insinto /etc/init
doins fingerprint_study.conf
}