summaryrefslogtreecommitdiff
path: root/net-wireless/intel-wimax-binary-supplicant
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/intel-wimax-binary-supplicant')
-rw-r--r--net-wireless/intel-wimax-binary-supplicant/Manifest4
-rw-r--r--net-wireless/intel-wimax-binary-supplicant/files/50-intel-wimax-binary-supplicant1
-rw-r--r--net-wireless/intel-wimax-binary-supplicant/files/install-to-usr-lib.patch12
-rw-r--r--net-wireless/intel-wimax-binary-supplicant/intel-wimax-binary-supplicant-1.4.0.ebuild29
4 files changed, 46 insertions, 0 deletions
diff --git a/net-wireless/intel-wimax-binary-supplicant/Manifest b/net-wireless/intel-wimax-binary-supplicant/Manifest
new file mode 100644
index 00000000..0ed504fa
--- /dev/null
+++ b/net-wireless/intel-wimax-binary-supplicant/Manifest
@@ -0,0 +1,4 @@
+AUX 50-intel-wimax-binary-supplicant 45 RMD160 46711ead5a6004251de62705d5891a359c33814d SHA1 f719e882b255318e56c9a2bcdeed5933b2ad65b0 SHA256 91bd4adab801e226d3ebe736eec25b6da116580705cb6ef47c65fd7c2645d31e
+AUX install-to-usr-lib.patch 497 RMD160 b4ed0cbfaaf7820d4e97def5c2dda6b319c3497b SHA1 62c83eedfb166dac0ef814d14f8246abf0ee4222 SHA256 20631e0db3838f80011ee07f55243bee51fce64f02956a396578bcf14d891241
+DIST Intel-WiMAX-Binary-Supplicant-1.4.0.tar.bz2 237353 RMD160 086b294a299c45a4a239170fa13fd04bea343a01 SHA1 458edd676589d6015aed1135e8f9852dc91d9aca SHA256 e5eb91f8d07a6687c9a68126035caf4c73ea326fc4b48ab7fbbd8357d981f1ac
+EBUILD intel-wimax-binary-supplicant-1.4.0.ebuild 812 RMD160 3c580edd56cae5cc3f3d6040c45044cafbe80510 SHA1 6660c0809bd04fa9e8ddf948c7a93d483b14252f SHA256 5e9c9d5e97c90a9d28ce3c3ba0eb20deff11b32cf3d2b4628b1620559afa15b0
diff --git a/net-wireless/intel-wimax-binary-supplicant/files/50-intel-wimax-binary-supplicant b/net-wireless/intel-wimax-binary-supplicant/files/50-intel-wimax-binary-supplicant
new file mode 100644
index 00000000..a4466bdb
--- /dev/null
+++ b/net-wireless/intel-wimax-binary-supplicant/files/50-intel-wimax-binary-supplicant
@@ -0,0 +1 @@
+LD_LIBRARY_MASK=libwpa_wimax_supplicant.so.0
diff --git a/net-wireless/intel-wimax-binary-supplicant/files/install-to-usr-lib.patch b/net-wireless/intel-wimax-binary-supplicant/files/install-to-usr-lib.patch
new file mode 100644
index 00000000..d9bb5cb1
--- /dev/null
+++ b/net-wireless/intel-wimax-binary-supplicant/files/install-to-usr-lib.patch
@@ -0,0 +1,12 @@
+diff -Naur Intel-WiMAX-Binary-Supplicant-1.4.0/install_supplicant.sh Intel-WiMAX-Binary-Supplicant-1.4.0-nonlocal/install_supplicant.sh
+--- Intel-WiMAX-Binary-Supplicant-1.4.0/install_supplicant.sh 2009-01-28 19:03:57.000000000 -0500
++++ Intel-WiMAX-Binary-Supplicant-1.4.0-nonlocal/install_supplicant.sh 2009-08-20 14:05:02.000000000 -0400
+@@ -39,7 +39,7 @@
+ target=
+
+ DESTDIR=${DESTDIR:-}
+-lib_dir=$DESTDIR/usr/local/lib/$project_name
++lib_dir=$DESTDIR/usr/lib/$project_name
+
+ create_dir()
+ {
diff --git a/net-wireless/intel-wimax-binary-supplicant/intel-wimax-binary-supplicant-1.4.0.ebuild b/net-wireless/intel-wimax-binary-supplicant/intel-wimax-binary-supplicant-1.4.0.ebuild
new file mode 100644
index 00000000..50661cfc
--- /dev/null
+++ b/net-wireless/intel-wimax-binary-supplicant/intel-wimax-binary-supplicant-1.4.0.ebuild
@@ -0,0 +1,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"
+}