/[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.2 - (show annotations) (download)
Tue Jun 21 07:38:05 2005 UTC (14 years, 4 months ago) by dholm
Branch: MAIN
Changes since 1.1: +2 -2 lines
Added to ~ppc
(Portage version: 2.0.51.22-r1)

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.8-r1.ebuild,v 1.1 2005/06/20 11:58:38 genstef Exp $
4
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 KEYWORDS="~ppc ~x86"
12 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