You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-wireless/rfkill/rfkill-0.4.ebuild

31 lines
737 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/rfkill/rfkill-0.4.ebuild,v 1.8 2013/02/02 04:36:16 zerochaos Exp $
EAPI=3
inherit toolchain-funcs
DESCRIPTION="Tool to read and control rfkill status through /dev/rfkill"
HOMEPAGE="http://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 x86"
IUSE=""
RDEPEND=""
DEPEND="sys-devel/make"
CC=$(tc-getCC)
LD=$(tc-getLD)
src_compile() {
emake V=1 || die "Failed to compile"
}
src_install() {
emake install V=1 DESTDIR="${D}" || die "Failed to install"
}