/[gentoo-x86]/net-misc/bcm570x/bcm570x-7.1.22.ebuild
Gentoo

Contents of /net-misc/bcm570x/bcm570x-7.1.22.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Jul 15 02:40:05 2004 UTC (15 years, 6 months ago) by agriffis
Branch: MAIN
Changes since 1.2: +2 -1 lines
sync IUSE (missing)

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/bcm570x/bcm570x-7.1.22.ebuild,v 1.2 2004/06/24 23:36:20 agriffis Exp $
4
5 MY_P=${P/570x/5700}
6 SRC_URI="http://www.broadcom.com/docs/driver_download/570x/${MY_P}.tar.gz"
7 DESCRIPTION="Driver for the Broadcom 570x-based gigabit cards (found on many mainboards)."
8 HOMEPAGE="http://www.broadcom.com/docs/driver-sla.php?driver=570x-Linux"
9 LICENSE="GPL-2"
10
11 SLOT="0"
12 KEYWORDS="~x86 ~amd64"
13 IUSE=""
14
15 S=${WORKDIR}/${PN/570x/5700}-${PV}/src
16
17 RESTRICT="fetch"
18
19 pkg_nofetch() {
20 einfo "For legal reasons there is an license agreement with interaction"
21 einfo "(the driver is GPL-2) -- so you have to download yourself."
22 einfo "www.broadcom.com -> Download (NIC) drivers -> Linux. place the bmc5700*.tar.gz"
23 einfo "in ${DISTDIR}."
24 }
25
26 src_compile() {
27 local my_KV="$(uname -r)"
28
29 cd ${S}
30 make LINUX=/usr/src/linux-${my_KV} || die "compile failed"
31 }
32
33 src_install() {
34 make PREFIX=${D} install || die
35
36 doman bcm5700.4.gz
37 dodoc DISTRIB.TXT LICENSE README.TXT RELEASE.TXT
38 }
39
40 pkg_postinst() {
41 einfo "${P}.tar.gz also contains a kernel-patch to integrate this driver directly."
42 }

  ViewVC Help
Powered by ViewVC 1.1.20