/[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.7 - (hide annotations) (download)
Mon Jan 31 18:49:55 2005 UTC (14 years, 11 months ago) by genstef
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
x86 stable thanks to Philip Kovacs <kovacsp3@comcast.net> in bug 74250, old ebuilds clean-out
(Portage version: 2.0.51-r15)

1 genstef 1.6 # Copyright 1999-2005 Gentoo Foundation
2 plasmaroo 1.1 # Distributed under the terms of the GNU General Public License v2
3 genstef 1.7 # $Header: /var/cvsroot/gentoo-x86/net-misc/bcm4400/bcm4400-3.0.7.ebuild,v 1.6 2005/01/01 22:39:36 genstef 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