summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2006-04-13 21:33:19 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2006-04-13 21:33:19 +0000
commit0b8c726dce6b240e05f939fe73219ffce0c19167 (patch)
tree6462215aafd4a7a1073318bdbf3dc7d784ee3890 /net-wireless/ipw3945
parentAdded net-wireless/ipw3945:radiotap (diff)
downloadhistorical-0b8c726dce6b240e05f939fe73219ffce0c19167.tar.gz
historical-0b8c726dce6b240e05f939fe73219ffce0c19167.tar.bz2
historical-0b8c726dce6b240e05f939fe73219ffce0c19167.zip
Initial version. Thank you to Intel's Open Source Technology Center for sponsoring the hardware for testing this.
Package-Manager: portage-2.0.54
Diffstat (limited to 'net-wireless/ipw3945')
-rw-r--r--net-wireless/ipw3945/ChangeLog11
-rw-r--r--net-wireless/ipw3945/Manifest2
-rw-r--r--net-wireless/ipw3945/files/digest-ipw3945-0.0.741
-rw-r--r--net-wireless/ipw3945/ipw3945-0.0.74.ebuild87
-rw-r--r--net-wireless/ipw3945/metadata.xml9
5 files changed, 110 insertions, 0 deletions
diff --git a/net-wireless/ipw3945/ChangeLog b/net-wireless/ipw3945/ChangeLog
new file mode 100644
index 000000000000..cdfe16a54112
--- /dev/null
+++ b/net-wireless/ipw3945/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-wireless/ipw3945
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ChangeLog,v 1.1 2006/04/13 21:33:19 brix Exp $
+
+*ipw3945-0.0.74 (13 Apr 2006)
+
+ 13 Apr 2006; Henrik Brix Andersen <brix@gentoo.org> +metadata.xml,
+ +ipw3945-0.0.74.ebuild:
+ Initial version. Thank you to Intel's Open Source Technology Center for
+ sponsoring the hardware for testing this.
+
diff --git a/net-wireless/ipw3945/Manifest b/net-wireless/ipw3945/Manifest
new file mode 100644
index 000000000000..31d9e3e5b722
--- /dev/null
+++ b/net-wireless/ipw3945/Manifest
@@ -0,0 +1,2 @@
+MD5 4975d1c9d861e3564b8487bc3f14916f files/digest-ipw3945-0.0.74 63
+MD5 ef95a0f48e12dc33ee2aaf800d235399 ipw3945-0.0.74.ebuild 2487
diff --git a/net-wireless/ipw3945/files/digest-ipw3945-0.0.74 b/net-wireless/ipw3945/files/digest-ipw3945-0.0.74
new file mode 100644
index 000000000000..ad76ddaf2bc4
--- /dev/null
+++ b/net-wireless/ipw3945/files/digest-ipw3945-0.0.74
@@ -0,0 +1 @@
+MD5 fb1bc1cfd4e4fce04ccec38b942c9ffb ipw3945-0.0.74.tgz 173813
diff --git a/net-wireless/ipw3945/ipw3945-0.0.74.ebuild b/net-wireless/ipw3945/ipw3945-0.0.74.ebuild
new file mode 100644
index 000000000000..1cd59d2919ff
--- /dev/null
+++ b/net-wireless/ipw3945/ipw3945-0.0.74.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ipw3945-0.0.74.ebuild,v 1.1 2006/04/13 21:33:19 brix Exp $
+
+inherit linux-mod
+
+# The following works with both pre-releases and releases
+MY_P=${P/_/-}
+S=${WORKDIR}/${MY_P}
+
+IEEE80211_VERSION="1.1.13"
+UCODE_VERSION="1.13"
+DAEMON_VERSION="1.7.18"
+
+DESCRIPTION="Driver for the Intel PRO/Wireless 3945ABG miniPCI express adapter"
+HOMEPAGE="http://ipw3945.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="debug radiotap"
+DEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION}
+ sys-apps/sed"
+RDEPEND=">=net-wireless/ieee80211-${IEEE80211_VERSION}
+ >=net-wireless/ipw3945-ucode-${UCODE_VERSION}
+ >=net-wireless/ipw3945d-${DAEMON_VERSION}"
+
+BUILD_TARGETS="all"
+MODULE_NAMES="ipw3945(net/wireless:)"
+MODULESD_IPW3945_DOCS="README.ipw3945"
+
+CONFIG_CHECK="NET_RADIO FW_LOADER !IPW3945"
+ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
+ERROR_FW_LOADER="${P} requires Hotplug firmware loading support (CONFIG_FW_LOADER)."
+ERROR_IPW3945="${P} requires the in-kernel version of the IPW3945 driver to be disabled (CONFIG_IPW3945)"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ if kernel_is 2 4; then
+ die "${P} does not support building against kernel 2.4.x"
+ fi
+
+ if [[ ! -f ${ROOT}/lib/modules/${KV_FULL}/net/ieee80211/ieee80211.${KV_OBJ} ]]; then
+ eerror
+ eerror "Looks like you forgot to remerge net-wireless/ieee80211 after"
+ eerror "upgrading your kernel."
+ eerror
+ eerror "Hint: use sys-kernel/module-rebuild for keeping track of which"
+ eerror "modules needs to be remerged after a kernel upgrade."
+ eerror
+ die "${ROOT}/lib/modules/${KV_FULL}/net/ieee80211/ieee80211.${KV_OBJ} not found"
+ fi
+
+ BUILD_PARAMS="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR} IEEE80211_INC=/usr/include"
+}
+
+src_unpack() {
+ local debug="n" radiotap="n"
+
+ unpack ${A}
+
+ sed -i -e "s:^#\(CONFIG_IPW3945_MONITOR\)=.*:\1=y:" ${S}/Makefile || die
+
+ use debug && debug="y"
+ sed -i -e "s:^\(CONFIG_IPW3945_DEBUG\)=.*:\1=${debug}:" ${S}/Makefile || die
+
+ use radiotap && radiotap="y"
+ sed -i -e "s:^#\(CONFIG_IEEE80211_RADIOTAP\)=.*:\1=${radiotap}:" ${S}/Makefile || die
+}
+
+src_compile() {
+ linux-mod_src_compile
+
+ einfo
+ einfo "You may safely ignore any warnings from above compilation about"
+ einfo "undefined references to the ieee80211 subsystem."
+ einfo
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc CHANGES ISSUES
+}
diff --git a/net-wireless/ipw3945/metadata.xml b/net-wireless/ipw3945/metadata.xml
new file mode 100644
index 000000000000..cfbdff13bd61
--- /dev/null
+++ b/net-wireless/ipw3945/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>mobile</herd>
+<maintainer>
+ <email>brix@gentoo.org</email>
+ <name>Henrik Brix Andersen</name>
+</maintainer>
+</pkgmetadata>