blob: faf768f42e1aa26db4fe81dd0dc8b905ac275a12 (
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
31
32
33
34
35
36
37
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
inherit linux-info multilib
MY_P="WiMAX-Network-Service-${PV}"
DESCRIPTION="Intel WiMAX daemon used to interface to the hardware"
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="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=dev-libs/libnl-1.1
>=sys-kernel/linux-headers-2.6.30-r1"
#is this the first headers version with /usr/include/linux/wimax.h?
#is it close enough for me to not care anymore?
RDEPEND="${DEPEND}
net-wireless/intel-wimax-tools
net-wireless/intel-wimax-binary-supplicant"
S="${WORKDIR}/${MY_P}"
src_configure() {
econf --prefix=/usr --localstatedir=/var --with-libwimaxll=/usr/$(get_libdir) --with-i2400m=/usr || die "econf failed"
}
src_install() {
emake DESTDIR="${D}" install || die "Install failed"
doinitd "${FILESDIR}"/wimax || die "failed to place the init daemon"
dodoc README || die "Failed to find README"
}
|