diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2020-07-28 09:41:37 -0400 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2020-07-28 09:41:37 -0400 |
commit | d241ee7943383a8ad8aacd70d5e301a6acf22c38 (patch) | |
tree | 5aaddca6d5744a9e3565da0846cbda2e1a34be3b /dev-util/android-udev-rules | |
download | gentoo-overlay-d241ee7943383a8ad8aacd70d5e301a6acf22c38.tar.xz gentoo-overlay-d241ee7943383a8ad8aacd70d5e301a6acf22c38.zip |
Initial commit
Diffstat (limited to 'dev-util/android-udev-rules')
-rw-r--r-- | dev-util/android-udev-rules/Manifest | 1 | ||||
-rw-r--r-- | dev-util/android-udev-rules/android-udev-rules-20200613.ebuild | 32 | ||||
-rw-r--r-- | dev-util/android-udev-rules/metadata.xml | 8 |
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-util/android-udev-rules/Manifest b/dev-util/android-udev-rules/Manifest new file mode 100644 index 0000000..8f47658 --- /dev/null +++ b/dev-util/android-udev-rules/Manifest @@ -0,0 +1 @@ +DIST android-udev-rules-20200613.tar.bz2 20119 BLAKE2B 47499d6b315d7e16ac2fcfba29586b55b5125dfb307d5b835bf749382296dbcf8225644d366dcdc3b99f2b9db03e1b9ee9306ffe8ae940bb4e83534c8587d8e4 SHA512 75e4bfec4cb5edc488a698807cc7dec8aa3c0c22495d5e613636a16dc746a78d548ce164e7899f4228f1e515bc61efa61fb0b5c85e59da695c3976aa3781567c diff --git a/dev-util/android-udev-rules/android-udev-rules-20200613.ebuild b/dev-util/android-udev-rules/android-udev-rules-20200613.ebuild new file mode 100644 index 0000000..09153b6 --- /dev/null +++ b/dev-util/android-udev-rules/android-udev-rules-20200613.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit vcs-snapshot udev user + +DESCRIPTION="Comprehensive list of udev rules to connect to android devices" +HOMEPAGE="https://github.com/M0Rf30/android-udev-rules" +SRC_URI="https://github.com/M0Rf30/android-udev-rules/archive/${PV}.tar.gz -> ${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="virtual/udev" +DEPEND="${RDEPEND}" + +src_install() { + udev_dorules 51-android.rules +} + +pkg_setup() { + enewgroup adbusers +} + +pkg_postinst() { + einfo "To be able to use android devices," + einfo "add yourself to the 'adbusers' group by calling" + einfo " usermod -a -G adbusers <user>" +} diff --git a/dev-util/android-udev-rules/metadata.xml b/dev-util/android-udev-rules/metadata.xml new file mode 100644 index 0000000..ba2f69e --- /dev/null +++ b/dev-util/android-udev-rules/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>nyronium@genthree.io</email> + <name>nyronium</name> + </maintainer> +</pkgmetadata> |