Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/rfkill/
Date: Fri, 14 Oct 2016 06:51:00
Message-Id: 1476427841.2dc3aa5b996e008741c8b1fa324fc52a8dd19d2b.monsieurp@gentoo
1 commit: 2dc3aa5b996e008741c8b1fa324fc52a8dd19d2b
2 Author: tharvik <tharvik <AT> users <DOT> noreply <DOT> github <DOT> com>
3 AuthorDate: Mon Oct 10 15:40:31 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 14 06:50:41 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dc3aa5b
7
8 net-wireless/rfkill: remove git polling.
9
10 Acked-by: Tony Vroon <chainsaw <AT> gentoo.org>
11 Package-Manager: portage-2.3.0
12 Closes: https://github.com/gentoo/gentoo/pull/2525
13
14 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
15
16 net-wireless/rfkill/rfkill-0.5-r1.ebuild | 33 ++++++++++++++++++++++++++++++++
17 1 file changed, 33 insertions(+)
18
19 diff --git a/net-wireless/rfkill/rfkill-0.5-r1.ebuild b/net-wireless/rfkill/rfkill-0.5-r1.ebuild
20 new file mode 100644
21 index 00000000..6a8f42c
22 --- /dev/null
23 +++ b/net-wireless/rfkill/rfkill-0.5-r1.ebuild
24 @@ -0,0 +1,33 @@
25 +# Copyright 1999-2016 Gentoo Foundation
26 +# Distributed under the terms of the GNU General Public License v2
27 +# $Id$
28 +
29 +EAPI=6
30 +
31 +inherit toolchain-funcs
32 +
33 +DESCRIPTION="Tool to read and control rfkill status through /dev/rfkill"
34 +HOMEPAGE="https://wireless.kernel.org/en/users/Documentation/rfkill"
35 +SRC_URI="https://www.kernel.org/pub/software/network/${PN}/${P}.tar.xz"
36 +
37 +LICENSE="ISC"
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
40 +IUSE=""
41 +
42 +RDEPEND=""
43 +DEPEND=""
44 +
45 +src_prepare() {
46 + default
47 +
48 + sed -i "s|^SUFFIX=$|SUFFIX=-${PR}|" version.sh || die
49 +}
50 +
51 +src_compile() {
52 + emake CC=$(tc-getCC) LD=$(tc-getLD) V=1
53 +}
54 +
55 +src_install() {
56 + emake install V=1 DESTDIR="${D}"
57 +}