/[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.2 - (hide annotations) (download)
Tue Dec 23 13:46:25 2003 UTC (16 years, 1 month ago) by genone
Branch: MAIN
Changes since 1.1: +3 -1 lines
added DEPEND="app-arch/unzip", closing bug #36354

1 plasmaroo 1.1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License v2
3 genone 1.2 # $Header: /home/cvsroot/gentoo-x86/net-misc/bcm4400/bcm4400-3.0.7.ebuild,v 1.1 2003/12/07 12:08:24 plasmaroo 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