Gentoo Archives: gentoo-commits

From: "Saleem Abdulrasool (compnerd)" <compnerd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-wireless/iwlwifi: ChangeLog iwlwifi-1.1.17.ebuild iwlwifi-0.0.39.ebuild
Date: Sat, 29 Sep 2007 20:59:48
Message-Id: E1IbjHA-0005B7-Ba@stork.gentoo.org
1 compnerd 07/09/29 20:51:00
2
3 Modified: ChangeLog
4 Added: iwlwifi-1.1.17.ebuild
5 Removed: iwlwifi-0.0.39.ebuild
6 Log:
7 version bump from upstream
8 (Portage version: 2.1.3.11)
9
10 Revision Changes Path
11 1.8 net-wireless/iwlwifi/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/iwlwifi/ChangeLog?rev=1.8&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/iwlwifi/ChangeLog?rev=1.8&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/iwlwifi/ChangeLog?r1=1.7&r2=1.8
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-wireless/iwlwifi/ChangeLog,v
20 retrieving revision 1.7
21 retrieving revision 1.8
22 diff -u -r1.7 -r1.8
23 --- ChangeLog 14 Aug 2007 02:54:30 -0000 1.7
24 +++ ChangeLog 29 Sep 2007 20:50:59 -0000 1.8
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-wireless/iwlwifi
27 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/iwlwifi/ChangeLog,v 1.7 2007/08/14 02:54:30 compnerd Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/iwlwifi/ChangeLog,v 1.8 2007/09/29 20:50:59 compnerd Exp $
30 +
31 +*iwlwifi-1.1.17 (29 Sep 2007)
32 +
33 + 29 Sep 2007; Saleem Abdulrasool <compnerd@g.o>
34 + -iwlwifi-0.0.39.ebuild, +iwlwifi-1.1.17.ebuild:
35 + prune old revision, and bump to the new snapshot
36
37 *iwlwifi-1.0.0_p1 (14 Aug 2007)
38
39
40
41
42 1.1 net-wireless/iwlwifi/iwlwifi-1.1.17.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/iwlwifi/iwlwifi-1.1.17.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/iwlwifi/iwlwifi-1.1.17.ebuild?rev=1.1&content-type=text/plain
46
47 Index: iwlwifi-1.1.17.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-wireless/iwlwifi/iwlwifi-1.1.17.ebuild,v 1.1 2007/09/29 20:50:59 compnerd Exp $
52
53 inherit eutils linux-mod
54
55 DESCRIPTION="Intel (R) PRO/Wireless 3945ABG Network Drivers"
56 HOMEPAGE="http://intellinuxwireless.org/?p=iwlwifi"
57 SRC_URI="http://intellinuxwireless.org/${PN}/downloads/${P//_p/-}.tgz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~x86"
62 IUSE="ipw3945 ipw4965"
63
64 DEPEND=">=virtual/linux-sources-2.6.22"
65 RDEPEND="ipw3945? ( =net-wireless/iwl3945-ucode-2.14.1.5 )
66 ipw4965? ( =net-wireless/iwl4965-ucode-4.44.1.18 )
67 !ipw3945? ( !ipw4965? ( =net-wireless/iwl3945-ucode-2.14.1.5 =net-wireless/iwl4965-ucode-4.44.1.18 ) )"
68
69 pkg_setup() {
70 if kernel_is lt 2 6 22 ; then
71 eerror "iwlwifi requires a kernel >=2.6.22."
72 eerror "Please set your /usr/src/linux symlink accordingly."
73 die "invalid /usr/src/linux symlink"
74 else
75 CONFIG_CHECK="MAC80211"
76 fi
77
78 BUILD_PARAMS="KSRC=${KV_DIR} M=${S}"
79
80 linux-mod_pkg_setup
81
82 if use ipw3945 ; then
83 MODULE_NAMES="iwl3945(net/wireless:${S}/compatible)"
84
85 if ! use ipw4965 ; then
86 BUILD_PARAMS="${BUILD_PARAMS} CONFIG_IWL4965=n"
87 fi
88
89 fi
90
91 if use ipw4965 ; then
92 MODULE_NAMES="${MODULE_NAMES} iwl4965(net/wireless:${S}/compatible)"
93
94 if ! use ipw3945 ; then
95 BUILD_PARAMS="${BUILD_PARAMS} CONFIG_IWL3945=n"
96 fi
97 fi
98
99 if ! use ipw3945 && ! use ipw4965 ; then
100 einfo "Wireless card not selected, building all modules"
101
102 MODULE_NAMES="iwl3945(net/wireless:${S}/compatible) iwl4965(net/wireless:${S}/compatible)"
103 BUILD_PARAMS="${BUILD_PARAMS} CONFIG_IWL3945=m CONFIG_IWL4965=m"
104 fi
105 }
106
107 src_compile() {
108 if [[ ${ARCH} == "amd64" ]] ; then
109 ARCH="x86_64"
110 else
111 ARCH="i386"
112 fi
113
114 make # this will fail, but is responsible for making the compatible structure
115 make || die "compile failed"
116 }
117
118
119
120 --
121 gentoo-commits@g.o mailing list