# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/bcm4400/bcm4400-3.0.14.ebuild,v 1.1 2006/02/27 23:49:19 genstef Exp $ inherit linux-mod SRC_URI="http://www.broadcom.com/docs/driver_download/440x/linux-${PV}.zip" DESCRIPTION="Driver for the bcm4400 10/100 network card (in the form of kernel modules)." HOMEPAGE="http://www.broadcom.com/drivers" LICENSE="GPL-2" KEYWORDS="~ppc ~x86" IUSE="" DEPEND="app-arch/unzip" S=${WORKDIR}/${P}/src MODULE_NAMES="bcm4400(net:)" BUILD_TARGETS="default" pkg_setup() { linux-mod_pkg_setup BUILD_PARAMS="BCM_KVER=${KV_MAJOR}.${KV_MINOR} LINUX=${KV_DIR}" } src_unpack() { unpack ${A} cd ${WORKDIR} tar xzpf ${P}.tar.gz convert_to_m ${S}/Makefile } src_install() { linux-mod_src_install doman bcm4400.4 dodoc ../DISTRIB.TXT ../README.TXT ../RELEASE.TXT } pkg_postinst() { linux-mod_pkg_postinst einfo "For more detailed information about this driver:" einfo "man 4 bcm5700" }