/[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.6 - (show annotations) (download)
Sat Jan 1 22:39:36 2005 UTC (15 years ago) by genstef
Branch: MAIN
Changes since 1.5: +2 -2 lines
Version Bump thanks to John Dangler <jdangler@atlantic.net> for reporting in bug 74250 and to Philip Kovacs <kovacsp3@comcast.net> for ebuild/testing. Cleaned out old version, added metadata.xml with kernel herd.

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/bcm4400/bcm4400-3.0.7.ebuild,v 1.5 2004/07/15 02:39:47 agriffis 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 IUSE=""
13
14 DEPEND="app-arch/unzip"
15
16 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