summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDick Marinus <dick.marinus@chello.nl>2007-05-14 18:41:33 +0000
committerDick Marinus <dick.marinus@chello.nl>2007-05-14 18:41:33 +0000
commitf5f2addb09f6f0a6c11e9bb4c66c0c236c9c9ed1 (patch)
treebc40c6481a23c9813af8f42224a252e4ba708d59
parentIn CVS (diff)
downloadsunrise-f5f2addb09f6f0a6c11e9bb4c66c0c236c9c9ed1.tar.gz
sunrise-f5f2addb09f6f0a6c11e9bb4c66c0c236c9c9ed1.tar.bz2
sunrise-f5f2addb09f6f0a6c11e9bb4c66c0c236c9c9ed1.zip
net-wireless/iwlwifi: initial version, see bug 174965
svn path=/sunrise/; revision=3638
-rw-r--r--net-wireless/iwlwifi/Manifest2
-rw-r--r--net-wireless/iwlwifi/files/digest-iwlwifi-0.0.183
-rw-r--r--net-wireless/iwlwifi/iwlwifi-0.0.18.ebuild39
3 files changed, 44 insertions, 0 deletions
diff --git a/net-wireless/iwlwifi/Manifest b/net-wireless/iwlwifi/Manifest
new file mode 100644
index 000000000..07296e3d0
--- /dev/null
+++ b/net-wireless/iwlwifi/Manifest
@@ -0,0 +1,2 @@
+DIST iwlwifi-0.0.18.tgz 169745 RMD160 b45c7b465df9481bfb8ada35d1b240e84737c84a SHA1 b8adff4e2c1f8185813d3c095ffc8ba60cfe9ff2 SHA256 85aa3d9fb6c3f519cf9661b5d0e6fa3ef0b412ee1ba4ac188d40593813f596fb
+EBUILD iwlwifi-0.0.18.ebuild 1023 RMD160 9bffb8d4791471696e11a3070cd78493702455df SHA1 de1f9d4f9522e47987519a4b81f2b56bf60eaf06 SHA256 a67c50d6646edef48c6eb226ecaf5deb26115e738df580ce9f7a6cfd534b372b
diff --git a/net-wireless/iwlwifi/files/digest-iwlwifi-0.0.18 b/net-wireless/iwlwifi/files/digest-iwlwifi-0.0.18
new file mode 100644
index 000000000..d04e6a206
--- /dev/null
+++ b/net-wireless/iwlwifi/files/digest-iwlwifi-0.0.18
@@ -0,0 +1,3 @@
+MD5 f5a6fa8dbf1ae537ed9b0bd7bb1a76d7 iwlwifi-0.0.18.tgz 169745
+RMD160 b45c7b465df9481bfb8ada35d1b240e84737c84a iwlwifi-0.0.18.tgz 169745
+SHA256 85aa3d9fb6c3f519cf9661b5d0e6fa3ef0b412ee1ba4ac188d40593813f596fb iwlwifi-0.0.18.tgz 169745
diff --git a/net-wireless/iwlwifi/iwlwifi-0.0.18.ebuild b/net-wireless/iwlwifi/iwlwifi-0.0.18.ebuild
new file mode 100644
index 000000000..307d320a9
--- /dev/null
+++ b/net-wireless/iwlwifi/iwlwifi-0.0.18.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit linux-mod
+
+DESCRIPTION="Intel (R) PRO/Wireless 3945ABG Network Connection"
+HOMEPAGE="http://intellinuxwireless.org/?p=iwlwifi"
+SRC_URI="http://intellinuxwireless.org/${PN}/downloads/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND="net-wireless/mac80211"
+RDEPEND="net-wireless/iwlwifi-ucode"
+
+S="${WORKDIR}/${P}/compatible"
+
+MODULE_NAMES="iwl3945(net/wireless)"
+BUILD_TARGETS="modules"
+
+
+pkg_setup() {
+ linux-mod_pkg_setup
+ BUILD_PARAMS="-C ${KV_DIR} M=${S} CONFIG_IWL3945=m"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${P}
+ sed -i -e 's/\(.*chmod\)/#\1/' Makefile
+ make compatible/kversion KSRC="${KV_DIR}" \
+ MAC80211_INC=/usr/include/mac80211/net/ || die "make unmodified failed"
+ sed -i -e 's%\.\./\(net/mac80211/\)%\1%' ${S}/*.c ${S}/*.h
+ echo "CFLAGS += -I/usr/include/mac80211 -DCONFIG_IWLWIFI_DEBUG=y" \
+ "-DCONFIG_IWLWIFI_SPECTRUM_MEASUREMENT=y" >> ${S}/Makefile
+}