/[gentoo-x86]/net-misc/bcm4400/bcm4400-3.0.7.ebuild
Gentoo

Contents of /net-misc/bcm4400/bcm4400-3.0.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Tue Apr 27 21:21:47 2004 UTC (15 years, 8 months ago) by agriffis
Branch: MAIN
Changes since 1.2: +2 -2 lines
Add inherit eutils

1 agriffis 1.3 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 plasmaroo 1.1 # Distributed under the terms of the GNU General Public License v2
3 agriffis 1.3 # $Header: /home/cvsroot/gentoo-x86/net-misc/bcm4400/bcm4400-3.0.7.ebuild,v 1.2 2003/12/23 13:46:25 genone Exp $
4 plasmaroo 1.1
5     SRC_URI="http://www.broadcom.com/docs/driver_download/440x/linux-3.0.7.zip"
6     DESCRIPTION="Driver for the bcm4400 10/100 network card (in the form of kernel modules)."
7     HOMEPAGE="http://www.broadcom.com"
8     LICENSE="GPL-2"
9    
10     SLOT="0"
11     KEYWORDS="x86"
12    
13 genone 1.2 DEPEND="app-arch/unzip"
14    
15 plasmaroo 1.1 S=${WORKDIR}/linux/${P}/src
16    
17     src_unpack() {
18    
19     unpack ${A}
20     cd ${WORKDIR}/linux
21     tar -xzpf ${P}.tar.gz
22    
23     }
24    
25     src_compile() {
26    
27     check_KV
28    
29     sed -i -e "s|\$(shell uname -r)|$KV|" -e "s|shell uname -r|echo $KV|" Makefile
30     emake || die
31    
32     }
33    
34     src_install() {
35    
36     mkdir -p ${D}/usr/share/man/man4
37     make PREFIX=${D} install || die
38    
39     }
40    
41     pkg_postinst() {
42    
43     echo ">>> Updating module dependencies..."
44     /sbin/depmod -a >/dev/null 2>&1
45    
46     }

  ViewVC Help
Powered by ViewVC 1.1.20