summaryrefslogtreecommitdiff
path: root/net-wireless/intel-wimax-network-service/intel-wimax-network-service-1.4.0-r1.ebuild
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2014-02-15 23:41:37 +0200
committerBlackNoxis <steven.darklight@gmail.com>2014-02-15 23:41:37 +0200
commit5d65d52a7227128a8524fe1c9c0cf5ba5b10c2d1 (patch)
tree7fd12c75ddb0f44b225e963d1836b326a1470c45 /net-wireless/intel-wimax-network-service/intel-wimax-network-service-1.4.0-r1.ebuild
parent20a107748317091d1ac003f1cbb045928d07e684 (diff)
Addeed the wi-fi modules
Diffstat (limited to 'net-wireless/intel-wimax-network-service/intel-wimax-network-service-1.4.0-r1.ebuild')
-rw-r--r--net-wireless/intel-wimax-network-service/intel-wimax-network-service-1.4.0-r1.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/net-wireless/intel-wimax-network-service/intel-wimax-network-service-1.4.0-r1.ebuild b/net-wireless/intel-wimax-network-service/intel-wimax-network-service-1.4.0-r1.ebuild
new file mode 100644
index 00000000..faf768f4
--- /dev/null
+++ b/net-wireless/intel-wimax-network-service/intel-wimax-network-service-1.4.0-r1.ebuild
@@ -0,0 +1,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"
+}