diff options
author | Ronny (tastytea) Gutbrod <gentoo@tastytea.de> | 2020-04-23 01:19:57 +0200 |
---|---|---|
committer | Ronny (tastytea) Gutbrod <gentoo@tastytea.de> | 2020-04-23 01:20:42 +0200 |
commit | d395466f9bfe2566f7fda5ff73e73ffc17641f61 (patch) | |
tree | 7527899c8123bf5b87898c48f46a8b70c69c5b18 /sys-libs | |
parent | net-im/biboumi: New package. (diff) | |
download | guru-d395466f9bfe2566f7fda5ff73e73ffc17641f61.tar.gz guru-d395466f9bfe2566f7fda5ff73e73ffc17641f61.tar.bz2 guru-d395466f9bfe2566f7fda5ff73e73ffc17641f61.zip |
sys-libs/solo-udev-rules: New package.
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/solo-udev-rules/Manifest | 1 | ||||
-rw-r--r-- | sys-libs/solo-udev-rules/metadata.xml | 11 | ||||
-rw-r--r-- | sys-libs/solo-udev-rules/solo-udev-rules-4.0.0.ebuild | 37 |
3 files changed, 49 insertions, 0 deletions
diff --git a/sys-libs/solo-udev-rules/Manifest b/sys-libs/solo-udev-rules/Manifest new file mode 100644 index 000000000..a457fb35e --- /dev/null +++ b/sys-libs/solo-udev-rules/Manifest @@ -0,0 +1 @@ +DIST solo-4.0.0.tar.gz 1173865 BLAKE2B 1a2d62daf46d3a4a90a65d5034912b048c63a8f6fd3f4dde76fcb3c283d679bc96a7d3cf92945f6c6817f7e505cb540c4264f83ea7db872aa1b3daad864275ac SHA512 210ef65f0b667f0a0c6c096f5f1346574ba70e6f8476e8657ac4c862cbd75de66b644aba884dc37773ecbda4ecd0e495dbbdef3febfbc0e43a265435cfc0ea3f diff --git a/sys-libs/solo-udev-rules/metadata.xml b/sys-libs/solo-udev-rules/metadata.xml new file mode 100644 index 000000000..6d28f9819 --- /dev/null +++ b/sys-libs/solo-udev-rules/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>gentoo@tastytea.de</email> + <name>Ronny (tastytea) Gutbrod</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/solokeys/solo/issues</bugs-to> + </upstream> +</pkgmetadata> diff --git a/sys-libs/solo-udev-rules/solo-udev-rules-4.0.0.ebuild b/sys-libs/solo-udev-rules/solo-udev-rules-4.0.0.ebuild new file mode 100644 index 000000000..b92f77d9a --- /dev/null +++ b/sys-libs/solo-udev-rules/solo-udev-rules-4.0.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit udev + +MY_P="solo-${PV}" +DESCRIPTION="udev rules for the Solo FIDO2 & U2F USB+NFC security key" +HOMEPAGE=" + https://solokeys.com/ + https://github.com/solokeys/solo +" +SRC_URI="https://github.com/solokeys/solo/archive/${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="virtual/udev" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + # Omitting src_compile() would invoke make, leaving it empty is not allowed. + echo -n +} + +src_install() { + udev_dorules udev/70-solokeys-access.rules +} + +pkg_postinst() { + udev_reload +} |