blob: 8ef3f6d8fa8e67a4414d4ca2638c21e816afc789 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/prism54/prism54-20040208.ebuild,v 1.2 2004/02/08 19:29:45 latexer Exp $
MY_P=${P/prism54-/prism54-cvs}
DESCRIPTION="Driver for Intersil Prism GT / Prism Duette wireless chipsets"
HOMEPAGE="http://prism54.org/"
# nomirror for firmware issues. Emails sent to inquire about this.
RESTRICT="nomirror"
SRC_URI="mirror://gentoo/${MY_P}.tar.bz2
http://prism54.org/firmware/isl3890"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="pcmcia"
DEPEND="virtual/kernel"
RDEPEND=">=sys-apps/hotplug-20030805-r2
net-wireless/wireless-tools
pcmcia? ( sys-apps/pcmcia-cs )"
S=${WORKDIR}/${MY_P}
src_unpack() {
check_KV
einfo "Make sure you have CONFIG_FW_LOADER enabled in your kernel."
einfo "2.6 users will need to disable sandbox for now to avoid"
einfo "sandbox issues. See bug #32737 for info on work being done to"
einfo "fix this."
einfo "Module versioning (CONFIG_MODVERSION) should be disabled."
unpack ${MY_P}.tar.bz2
}
src_compile() {
unset ARCH
make KVER=${KV} KDIR=/usr/src/linux modules || die
}
src_install() {
make KDIR=/usr/src/linux KVER=${KV} \
KMISC=${D}/lib/modules/${KV}/kernel/drivers/net/wireless/ \
install || die
# Install the firmware image
insinto /usr/lib/hotplug/firmware/
doins ${DISTDIR}/isl3890
dodoc README ksrc/{TODO,ChangeLog}
}
pkg_postint() {
depmod -a
}
|