blob: 562654bbd29763b3a8a7807e3059821aab01c1cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/iw/iw-3.2.ebuild,v 1.2 2011/11/14 12:05:37 gurligebis Exp $
EAPI="2"
inherit toolchain-funcs eutils
DESCRIPTION="nl80211-based configuration utility for wireless devices using the mac80211 kernel stack"
HOMEPAGE="http://wireless.kernel.org/en/users/Documentation/iw"
SRC_URI="http://linuxwireless.org/download/${PN}/${P}.tar.bz2"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE=""
RDEPEND="dev-libs/libnl:1.1"
DEPEND="${RDEPEND}
dev-util/pkgconfig
dev-lang/python:2.7"
src_prepare() {
epatch "${FILESDIR}/${P}_libnl-3x-compile.diff"
tc-export CC LD
}
src_install() {
emake install DESTDIR="${D}" || die
}
|