mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-wireless/rfkill: remove git polling.
Acked-by: Tony Vroon <chainsaw@gentoo.org> Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/2525 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
This commit is contained in:
33
net-wireless/rfkill/rfkill-0.5-r1.ebuild
Normal file
33
net-wireless/rfkill/rfkill-0.5-r1.ebuild
Normal file
@@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Tool to read and control rfkill status through /dev/rfkill"
|
||||
HOMEPAGE="https://wireless.kernel.org/en/users/Documentation/rfkill"
|
||||
SRC_URI="https://www.kernel.org/pub/software/network/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i "s|^SUFFIX=$|SUFFIX=-${PR}|" version.sh || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC) LD=$(tc-getLD) V=1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install V=1 DESTDIR="${D}"
|
||||
}
|
||||
Reference in New Issue
Block a user