/[gentoo-x86]/net-wireless/ndiswrapper/ndiswrapper-1.35.ebuild
Gentoo

Diff of /net-wireless/ndiswrapper/ndiswrapper-1.35.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/Attic/ndiswrapper-1.35.ebuild,v 1.1 2007/01/28 17:45:20 peper Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/Attic/ndiswrapper-1.35.ebuild,v 1.2 2007/02/23 15:57:47 peper Exp $
4 4
5inherit eutils linux-mod 5inherit eutils linux-mod
6 6
7DESCRIPTION="Wrapper for using Windows drivers for some wireless cards" 7DESCRIPTION="Wrapper for using Windows drivers for some wireless cards"
8HOMEPAGE="http://ndiswrapper.sourceforge.net/" 8HOMEPAGE="http://ndiswrapper.sourceforge.net/"
17 net-wireless/wireless-tools" 17 net-wireless/wireless-tools"
18 18
19CONFIG_CHECK="NET_RADIO" 19CONFIG_CHECK="NET_RADIO"
20 20
21MODULE_NAMES="ndiswrapper(misc:${S}/driver)" 21MODULE_NAMES="ndiswrapper(misc:${S}/driver)"
22BUILD_PARAMS="KSRC=${ROOT}${KV_DIR} KVERS=${KV_FULL}"
23BUILD_TARGETS="all" 22BUILD_TARGETS="all"
24MODULESD_NDISWRAPPER_ALIASES=("wlan0 ndiswrapper") 23MODULESD_NDISWRAPPER_ALIASES=("wlan0 ndiswrapper")
25 24
26ERROR_USB="You need to enable USB support in your kernel 25ERROR_USB="You need to enable USB support in your kernel
27to use usb support in ndiswrapper." 26to use usb support in ndiswrapper."
56 55
57 use usb || params="DISABLE_USB=1" 56 use usb || params="DISABLE_USB=1"
58 57
59 # Does not like parallel builds 58 # Does not like parallel builds
60 # http://bugs.gentoo.org/show_bug.cgi?id=154213 59 # http://bugs.gentoo.org/show_bug.cgi?id=154213
61
62 # KBUILD trick needed to build against sources where only make
63 # modules_prepare has been run so /lib/modules/$(uname -r) does
64 # not exists yet
65 # KBUILD value can't be quoted or amd64 fails 60 # KBUILD value can't be quoted
66 # http://bugs.gentoo.org/show_bug.cgi?id=156319 61 # http://bugs.gentoo.org/show_bug.cgi?id=156319
67 BUILD_PARAMS="KBUILD=${KV_OUT_DIR} ${BUILD_PARAMS} ${params} -j1" linux-mod_src_compile 62 BUILD_PARAMS="KSRC=${KV_DIR} KVERS=${KV_FULL} KBUILD=${KV_OUT_DIR} ${params} -j1"
63 linux-mod_src_compile
68} 64}
69 65
70src_install() { 66src_install() {
71 dodoc README INSTALL AUTHORS ChangeLog 67 dodoc README INSTALL AUTHORS ChangeLog
72 doman ndiswrapper.8 68 doman ndiswrapper.8

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20