/[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.1 - (hide annotations) (download)
Sun Dec 7 12:08:24 2003 UTC (16 years, 1 month ago) by plasmaroo
Branch: MAIN
Version bump; closes bug #35227.

1 plasmaroo 1.1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /home/cvsroot/gentoo-x86/net-misc/bcm4400/bcm4400-1.0.1.ebuild,v 1.7 2003/10/02 08:24:16 kumba Exp $
4    
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     S=${WORKDIR}/linux/${P}/src
14    
15     src_unpack() {
16    
17     unpack ${A}
18     cd ${WORKDIR}/linux
19     tar -xzpf ${P}.tar.gz
20    
21     }
22    
23     src_compile() {
24    
25     check_KV
26    
27     sed -i -e "s|\$(shell uname -r)|$KV|" -e "s|shell uname -r|echo $KV|" Makefile
28     emake || die
29    
30     }
31    
32     src_install() {
33    
34     mkdir -p ${D}/usr/share/man/man4
35     make PREFIX=${D} install || die
36    
37     }
38    
39     pkg_postinst() {
40    
41     echo ">>> Updating module dependencies..."
42     /sbin/depmod -a >/dev/null 2>&1
43    
44     }

  ViewVC Help
Powered by ViewVC 1.1.20