/[gentoo-x86]/net-misc/bcm4400/bcm4400-3.0.8-r1.ebuild
Gentoo

Contents of /net-misc/bcm4400/bcm4400-3.0.8-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (download) (vendor branch)
Wed Nov 30 09:55:03 2005 UTC (13 years, 10 months ago) by chriswhite
Changes since 1.1: +2 -2 lines
*** empty log message ***

1 genstef 1.1 # Copyright 1999-2005 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 chriswhite 1.1.1.1 # $Header: /var/cvsroot/gentoo-x86/net-misc/bcm4400/bcm4400-3.0.8-r1.ebuild,v 1.2 2005/06/21 07:38:05 dholm Exp $
4 genstef 1.1
5     inherit eutils linux-mod
6    
7     SRC_URI="http://www.broadcom.com/docs/driver_download/440x/linux-${PV}.zip"
8     DESCRIPTION="Driver for the bcm4400 10/100 network card (in the form of kernel modules)."
9     HOMEPAGE="http://www.broadcom.com"
10     LICENSE="GPL-2"
11 chriswhite 1.1.1.1 KEYWORDS="~ppc ~x86"
12 genstef 1.1 IUSE=""
13     DEPEND="app-arch/unzip"
14     S=${WORKDIR}/linux/${P}/src
15    
16     MODULE_NAMES="bcm4400(net:)"
17     BUILD_TARGETS="default"
18    
19     pkg_setup() {
20     linux-mod_pkg_setup
21     BUILD_PARAMS="BCM_KVER=${KV_MAJOR}.${KV_MINOR} LINUX=${KV_DIR}"
22     }
23    
24     src_unpack() {
25     unpack ${A}
26     cd ${WORKDIR}/linux
27     tar xzpf ${P}.tar.gz
28     convert_to_m ${S}/Makefile
29    
30     # patch to convert obsolete pdev->slot_name references to pci_name(pdev)
31     # it's for changes in 2.6.12 pci.h, but should work in earlier kernels
32     epatch ${FILESDIR}/${P}-pci_name.patch
33     }
34    
35     src_install() {
36     linux-mod_src_install
37     doman bcm4400.4
38     dodoc ../DISTRIB.TXT ../LICENSE ../README.TXT ../RELEASE.TXT
39     }

  ViewVC Help
Powered by ViewVC 1.1.20