Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 27766 Details for
Bug 45331
updated ebuild for ndiswrapper 0.6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ndiswrapper-0.6.ebuild
ndiswrapper-0.6.ebuild (text/plain), 1.74 KB, created by
Juergen Nagel
on 2004-03-21 16:57:53 UTC
(
hide
)
Description:
ndiswrapper-0.6.ebuild
Filename:
MIME Type:
Creator:
Juergen Nagel
Created:
2004-03-21 16:57:53 UTC
Size:
1.74 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 > >inherit kernel-mod > >S=${WORKDIR}/${P} >DESCRIPTION="Wrapper for using Windows drivers for some wireless cards" >HOMEPAGE="http://ndiswrapper.sourceforge.net/" >SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="x86" >IUSE="" >DEPEND="sys-devel/flex" > >src_unpack() { > check_KV > kernel-mod_getversion > unpack ${A} > > # Fix path to kernel and KVERS > sed -i -e "s:^KSRC.*:KSRC=${ROOT}/usr/src/linux:" \ > -e "s:^KVERS.*:KVERS=${KV_MAJOR}${KV_MINOR}:" \ > ${S}/driver/Makefile >} > >src_compile() { > # Unset ARCH for 2.5/2.6 kernel compiles > unset ARCH > emake || die >} > >src_install() { > if [ ${KV_MINOR} -gt 4 ] > then > KV_OBJ="ko" > else > KV_OBJ="o" > fi > > dobin ${S}/utils/loadndisdriver > dobin ${S}/utils/ndiswrapper > > dodoc ${S}/README ${S}/INSTALL ${S}/AUTHORS > > insinto /lib/modules/${KV}/misc > doins ${S}/driver/ndiswrapper.${KV_OBJ} > > insinto /etc/modules.d > newins ${FILESDIR}/ndiswrapper.modules.d ndiswrapper >} > >pkg_postinst() { > kernel-mod_pkg_postinst > > einfo > einfo "ndiswrapper requires .inf and .sys files from a Windows(tm) driver" > einfo "to function. Put these somewhere like /usr/lib/hotplug/drivers," > einfo "run 'ndiswrapper -i </usr/lib/hotplug/drivers/foo.inf>', edit" > einfo "/etc/modules.d/ndiswrapper to match, then run 'update-modules'." > einfo >} > >pkg_config() { > if [ ! -f "/etc/modules.d/ndiswrapper" ] > then > eerror "/etc/modules.d/ndiswrapper not found. Please re-emerge" > eerror "${PN} to have this file installed, then re-run this script" > die "Driver configuration file not found" > fi > > I=`lspci -n | grep 'Class 0280:' | cut -d' ' -f4` > > if [ -z "${I}" ] > then > die "No suitable devices found" > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 45331
: 27766 |
27767