29 lines
781 B
Bash
29 lines
781 B
Bash
# Copyright 1999-2012 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.5 2012/05/04 06:41:54 jdhore 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"
|
|
DEPEND="${RDEPEND}
|
|
virtual/pkgconfig"
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}/${P}_libnl-3x-compile.diff"
|
|
tc-export CC LD
|
|
}
|
|
|
|
src_install() {
|
|
emake install DESTDIR="${D}" || die
|
|
}
|