summaryrefslogtreecommitdiff
path: root/net-wireless/intel-wimax-binary-supplicant/intel-wimax-binary-supplicant-1.4.0.ebuild
blob: 50661cfc87874f10b015f9a771a18121ac2f21be (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

inherit eutils

MY_P=Intel-WiMAX-Binary-Supplicant-${PV}
DESCRIPTION="Authentication information for WiMax Networks"
HOMEPAGE="http://www.linuxwimax.org/"
SRC_URI="http://www.linuxwimax.org/Download?action=AttachFile&do=get&target=${MY_P}.tar.bz2 -> ${MY_P}.tar.bz2"
LICENSE="IFDBL"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

S="${WORKDIR}/${MY_P}"

src_prepare() {
	epatch "${FILESDIR}"/install-to-usr-lib.patch
}

src_install() {
	DESTDIR=${D} ./install_supplicant.sh install || dir "install_supplicant.sh failed"
	dodoc README || die "Failed to find README"
	insinto /etc/revdep-rebuild
	doins "${FILESDIR}"/50-intel-wimax-binary-supplicant || die "failed to install revdep-rebuild fix"
}