From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-wireless/iw/iw-4.7.ebuild | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 net-wireless/iw/iw-4.7.ebuild (limited to 'net-wireless/iw/iw-4.7.ebuild') diff --git a/net-wireless/iw/iw-4.7.ebuild b/net-wireless/iw/iw-4.7.ebuild new file mode 100644 index 000000000000..ca910ab2d436 --- /dev/null +++ b/net-wireless/iw/iw-4.7.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="nl80211-based configuration utility for wireless devices using the mac80211 kernel stack" +HOMEPAGE="https://wireless.kernel.org/en/users/Documentation/iw" +SRC_URI="https://www.kernel.org/pub/software/network/${PN}/${P}.tar.xz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND="dev-libs/libnl" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + default + tc-export CC LD PKG_CONFIG +} + +src_compile() { + CFLAGS="${CFLAGS} ${CPPFLAGS}" \ + LDFLAGS="${CFLAGS} ${LDFLAGS}" \ + emake V=1 +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install +} -- cgit v1.2.3