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

Contents of /net-misc/bcm4400/bcm4400-3.0.13.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Aug 27 21:29:08 2005 UTC (14 years, 7 months ago) by genstef
Branch: MAIN
version bump
(Portage version: 1.589-cvs)

1 genstef 1.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.ebuild,v 1.2 2005/01/31 18:49:55 genstef Exp $
4    
5     inherit 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/drivers"
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    
31     src_install() {
32     linux-mod_src_install
33     doman bcm4400.4
34     dodoc ../DISTRIB.TXT ../README.TXT ../RELEASE.TXT
35     }
36    
37     pkg_postinst() {
38     linux-mod_pkg_postinst
39    
40     einfo "For more detailed information about this driver:"
41     einfo "man 4 bcm5700"
42     }

  ViewVC Help
Powered by ViewVC 1.1.20