summaryrefslogtreecommitdiff
path: root/net-wireless/intel-wimax-network-service
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/intel-wimax-network-service')
-rw-r--r--net-wireless/intel-wimax-network-service/Manifest4
-rwxr-xr-xnet-wireless/intel-wimax-network-service/files/wimax21
-rw-r--r--net-wireless/intel-wimax-network-service/intel-wimax-network-service-1.4.0-r1.ebuild37
-rw-r--r--net-wireless/intel-wimax-network-service/intel-wimax-network-service-1.4.0.ebuild34
4 files changed, 96 insertions, 0 deletions
diff --git a/net-wireless/intel-wimax-network-service/Manifest b/net-wireless/intel-wimax-network-service/Manifest
new file mode 100644
index 00000000..6728e60a
--- /dev/null
+++ b/net-wireless/intel-wimax-network-service/Manifest
@@ -0,0 +1,4 @@
+AUX wimax 433 RMD160 7c9291b4189588547c854cc36477d7c413ca6ad4 SHA1 c5d9a10d018a8144ccf441409c9db54117489dc9 SHA256 1dfa24bb9d83ad711a9331b917fc7a37ac4d439d13bb82b90d0b8dff0ebf343c
+DIST WiMAX-Network-Service-1.4.0.tar.bz2 1360859 RMD160 518678f32275e1c890c7a1f4266732a2ec9dedda SHA1 4b6e174ba7b604474ab0ced72d78c9ebfa66749d SHA256 a421b2f6e7912280cbddc6818892b4bffa4da0ff5347a9d26ddbcb81e99963ec
+EBUILD intel-wimax-network-service-1.4.0-r1.ebuild 1101 RMD160 8d588a0c4005c9fca6017ea8bc1d98d7bec2b226 SHA1 f946c9bb15cc044e2dbc11bedf45e5850948a7d5 SHA256 3568032f277f7025215d29c4f80634106af2e3c18000b0dd335e37dad0e74681
+EBUILD intel-wimax-network-service-1.4.0.ebuild 952 RMD160 01c8a7b9ca6cb8ca36263707312cc80b97fd22fd SHA1 6247a11815facc5fbd6a8ff1ea06079316ed8da6 SHA256 ba9dec9d63b0d6123dd989e71b3535845b59b233da0632b1d2bef7939a322e3e
diff --git a/net-wireless/intel-wimax-network-service/files/wimax b/net-wireless/intel-wimax-network-service/files/wimax
new file mode 100755
index 00000000..201c43a5
--- /dev/null
+++ b/net-wireless/intel-wimax-network-service/files/wimax
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+
+description="WiMAX Network Service"
+
+depend() {
+ need localmount
+ after bootmisc
+}
+
+start() {
+ ebegin "Starting WiMAX Network Service"
+ [ -e /var/run/wimaxd.pid ] && rm -f /var/run/wimaxd.pid
+ start-stop-daemon --start --quiet --pidfile /var/run/wimax.pid --exec /usr/bin/wimaxd
+ eend $?
+}
+
+stop() {
+ ebegin "Stoping WiMAX Network Service"
+ start-stop-daemon --stop --quiet --pidfile /var/run/wimax.pid
+ eend $?
+}
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"
+}
diff --git a/net-wireless/intel-wimax-network-service/intel-wimax-network-service-1.4.0.ebuild b/net-wireless/intel-wimax-network-service/intel-wimax-network-service-1.4.0.ebuild
new file mode 100644
index 00000000..7836e944
--- /dev/null
+++ b/net-wireless/intel-wimax-network-service/intel-wimax-network-service-1.4.0.ebuild
@@ -0,0 +1,34 @@
+# 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"
+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="${KV_DIR}" || 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"
+}