2019-01-17 21:33:37 +01:00
|
|
|
# Copyright 1999-2019 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
|
|
|
|
inherit git-r3 udev
|
|
|
|
|
|
|
|
DESCRIPTION="udev rules for the Solo FIDO2 USB+NFC token."
|
|
|
|
HOMEPAGE="
|
|
|
|
https://solokeys.com/
|
|
|
|
https://github.com/solokeys/solo
|
|
|
|
"
|
|
|
|
EGIT_REPO_URI="https://github.com/solokeys/solo.git"
|
2019-01-17 21:42:24 +01:00
|
|
|
EGIT_SUBMODULES=()
|
2019-01-18 13:31:06 +01:00
|
|
|
if [[ "${PV}" != "99999999" ]]; then
|
2019-01-17 21:49:12 +01:00
|
|
|
EGIT_COMMIT_DATE="${PV}"
|
|
|
|
fi
|
2019-01-17 21:33:37 +01:00
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
2019-01-18 13:31:06 +01:00
|
|
|
if [[ "${PV}" == "99999999" ]]; then
|
2019-01-17 21:49:12 +01:00
|
|
|
KEYWORDS=""
|
|
|
|
else
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
fi
|
2019-01-17 21:33:37 +01:00
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
virtual/udev
|
|
|
|
"
|
|
|
|
DEPEND="
|
|
|
|
${RDEPEND}
|
|
|
|
"
|
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
# Do nothing (empty function is not allowed)
|
|
|
|
echo -n
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
2019-03-16 19:53:19 +01:00
|
|
|
udev_dorules udev/70-solokeys-access.rules
|
2019-03-16 20:16:28 +01:00
|
|
|
udev_dorules udev/70-solokeys-legacy-access.rules
|
2019-01-17 21:33:37 +01:00
|
|
|
}
|