/[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.5 - (hide annotations) (download)
Thu Jul 15 02:39:47 2004 UTC (15 years, 7 months ago) by agriffis
Branch: MAIN
Changes since 1.4: +2 -1 lines
sync IUSE (missing), trim trailing whitespace

1 agriffis 1.4 # Copyright 1999-2004 Gentoo Foundation
2 plasmaroo 1.1 # Distributed under the terms of the GNU General Public License v2
3 agriffis 1.5 # $Header: /var/cvsroot/gentoo-x86/net-misc/bcm4400/bcm4400-3.0.7.ebuild,v 1.4 2004/06/24 23:36:09 agriffis 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 agriffis 1.5 IUSE=""
13 plasmaroo 1.1
14 genone 1.2 DEPEND="app-arch/unzip"
15    
16 plasmaroo 1.1 S=${WORKDIR}/linux/${P}/src
17    
18     src_unpack() {
19    
20     unpack ${A}
21     cd ${WORKDIR}/linux
22     tar -xzpf ${P}.tar.gz
23    
24     }
25    
26     src_compile() {
27    
28     check_KV
29    
30     sed -i -e "s|\$(shell uname -r)|$KV|" -e "s|shell uname -r|echo $KV|" Makefile
31     emake || die
32    
33     }
34    
35     src_install() {
36    
37     mkdir -p ${D}/usr/share/man/man4
38     make PREFIX=${D} install || die
39    
40     }
41    
42     pkg_postinst() {
43    
44     echo ">>> Updating module dependencies..."
45     /sbin/depmod -a >/dev/null 2>&1
46    
47     }

  ViewVC Help
Powered by ViewVC 1.1.20