From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/
Date: Thu, 28 Apr 2022 03:34:10 +0000 (UTC) [thread overview]
Message-ID: <1651116711.3749b6e7ef444608c3d93717b180179ee2eada2f.sam@gentoo> (raw)
commit: 3749b6e7ef444608c3d93717b180179ee2eada2f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 28 03:24:46 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 28 03:31:51 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3749b6e7
net-misc/cgminer: use udev.eclass; call udev_reload
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/cgminer/cgminer-4.10.0-r1.ebuild | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/net-misc/cgminer/cgminer-4.10.0-r1.ebuild b/net-misc/cgminer/cgminer-4.10.0-r1.ebuild
index 016755b9d44c..7fcba45d1770 100644
--- a/net-misc/cgminer/cgminer-4.10.0-r1.ebuild
+++ b/net-misc/cgminer/cgminer-4.10.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit flag-o-matic toolchain-funcs
+inherit flag-o-matic toolchain-funcs udev
DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C"
HOMEPAGE="https://bitcointalk.org/?topic=28402.msg357369 https://github.com/ckolivas/cgminer"
@@ -76,8 +76,7 @@ src_install() { # How about using some make install?
dobin cgminer
if use udev; then
- insinto /lib/udev/rules.d
- use udev && doins 01-cgminer.rules
+ udev_dorules 01-cgminer.rules
fi
if use doc; then
@@ -91,3 +90,7 @@ src_install() { # How about using some make install?
dodoc api-example.php miner.php API.java api-example.c example.conf
fi
}
+
+pkg_postinst() {
+ use udev && udev_reload
+}
next reply other threads:[~2022-04-28 3:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-28 3:34 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-09-25 19:08 [gentoo-commits] repo/gentoo:master commit in: net-misc/cgminer/ Sam James
2021-09-24 17:12 Anthony G. Basile
2021-02-14 10:36 David Seifert
2021-02-14 10:36 David Seifert
2019-03-25 5:18 Sven Wegener
2019-03-24 0:22 Lars Wendler
2019-03-24 0:20 Lars Wendler
2018-06-14 21:11 Jonas Stein
2017-02-05 1:25 Anthony G. Basile
2017-02-05 1:25 Anthony G. Basile
2016-03-27 17:32 Michael Palimaka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1651116711.3749b6e7ef444608c3d93717b180179ee2eada2f.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox