diff options
author | Saleem Abdulrasool <compnerd@gentoo.org> | 2007-07-26 01:31:29 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@gentoo.org> | 2007-07-26 01:31:29 +0000 |
commit | 863bedb88b858aa8f6a97664389161214bcfe0f6 (patch) | |
tree | fb7d5778b499e10bd16fe686c4742c8c941afb2e /net-wireless | |
parent | version bump from upstream (diff) | |
download | gentoo-2-863bedb88b858aa8f6a97664389161214bcfe0f6.tar.gz gentoo-2-863bedb88b858aa8f6a97664389161214bcfe0f6.tar.bz2 gentoo-2-863bedb88b858aa8f6a97664389161214bcfe0f6.zip |
version bump from upstream
(Portage version: 2.1.3_rc9)
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/iwlwifi/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/iwlwifi/files/digest-iwlwifi-1.0.0 | 3 | ||||
-rw-r--r-- | net-wireless/iwlwifi/iwlwifi-1.0.0.ebuild | 58 |
3 files changed, 68 insertions, 1 deletions
diff --git a/net-wireless/iwlwifi/ChangeLog b/net-wireless/iwlwifi/ChangeLog index a4e9a2435271..305dc2bcbba3 100644 --- a/net-wireless/iwlwifi/ChangeLog +++ b/net-wireless/iwlwifi/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/iwlwifi # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/iwlwifi/ChangeLog,v 1.4 2007/07/17 01:54:23 compnerd Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/iwlwifi/ChangeLog,v 1.5 2007/07/26 01:31:29 compnerd Exp $ + +*iwlwifi-1.0.0 (26 Jul 2007) + + 26 Jul 2007; Saleem Abdulrasool <compnerd@gentoo.org> + +iwlwifi-1.0.0.ebuild: + Version bump from upstream *iwlwifi-0.0.39 (17 Jul 2007) diff --git a/net-wireless/iwlwifi/files/digest-iwlwifi-1.0.0 b/net-wireless/iwlwifi/files/digest-iwlwifi-1.0.0 new file mode 100644 index 000000000000..ee053278419c --- /dev/null +++ b/net-wireless/iwlwifi/files/digest-iwlwifi-1.0.0 @@ -0,0 +1,3 @@ +MD5 9f17565c8132f98a2a8359f621cd9795 iwlwifi-1.0.0.tgz 216532 +RMD160 2acedda61e9717c75a14f2129336b14eee90e0d3 iwlwifi-1.0.0.tgz 216532 +SHA256 c099e477fcd0a97f181056ebf633faa47b3da1dd8c3ecbd2d208862fbd48fdac iwlwifi-1.0.0.tgz 216532 diff --git a/net-wireless/iwlwifi/iwlwifi-1.0.0.ebuild b/net-wireless/iwlwifi/iwlwifi-1.0.0.ebuild new file mode 100644 index 000000000000..b1db1d0d9a96 --- /dev/null +++ b/net-wireless/iwlwifi/iwlwifi-1.0.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/iwlwifi/iwlwifi-1.0.0.ebuild,v 1.1 2007/07/26 01:31:29 compnerd Exp $ + +inherit eutils linux-mod + +DESCRIPTION="Intel (R) PRO/Wireless 3945ABG Network Drivers" +HOMEPAGE="http://intellinuxwireless.org/?p=iwlwifi" +SRC_URI="http://intellinuxwireless.org/${PN}/downloads/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ipw3945 ipw4965" + +DEPEND=">=virtual/linux-sources-2.6.22" +RDEPEND="ipw3945? ( net-wireless/iwl3945-ucode ) + ipw4965? ( net-wireless/iwl4965-ucode ) + !ipw3945? ( !ipw4965? ( net-wireless/iwl3945-ucode net-wireless/iwl4965-ucode ) )" + +pkg_setup() { + if kernel_is lt 2 6 22 ; then + eerror "iwlwifi requires a kernel >=2.6.22." + eerror "Please set your /usr/src/linux symlink accordingly." + die "invalid /usr/src/linux symlink" + else + CONFIG_CHECK="MAC80211" + fi + + BUILD_TARGETS="all" + BUILD_PARAMS="KSRC=${KV_DIR} M=${S}" + + linux-mod_pkg_setup + + if use ipw3945 ; then + MODULE_NAMES="iwl3945(net/wireless:${S}/compatible)" + + if ! use ipw4965 ; then + BUILD_PARAMS="${BUILD_PARAMS} CONFIG_IWL4965=n" + fi + + fi + + if use ipw4965 ; then + MODULE_NAMES="${MODULE_NAMES} iwl4965(net/wireless:${S}/compatible)" + + if ! use ipw3945 ; then + BUILD_PARAMS="${BUILD_PARAMS} CONFIG_IWL3945=n" + fi + fi + + if ! use ipw3945 && ! use ipw4965 ; then + einfo "Wireless card not selected, building all modules" + + MODULE_NAMES="iwl3945(net/wireless:${S}/compatible) iwl4965(net/wireless:${S}/compatible)" + BUILD_PARAMS="${BUILD_PARAMS} CONFIG_IWL3945=m CONFIG_IWL4965=m" + fi +} |