|
|
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/net-wireless/bcm43xx-fwcutter/bcm43xx-fwcutter-004.ebuild,v 1.2 2006/04/21 13:07:42 josejx Exp $ | # $Header: /var/cvsroot/gentoo-x86/net-wireless/bcm43xx-fwcutter/bcm43xx-fwcutter-004.ebuild,v 1.2 2006/04/21 13:07:42 josejx Exp $ |
| |
|
inherit toolchain-funcs |
|
|
DESCRIPTION="Firmware Tool for Broadcom 43xx based wireless network devices" | DESCRIPTION="Firmware Tool for Broadcom 43xx based wireless network devices" |
HOMEPAGE="http://bcm43xx.berlios.de" | HOMEPAGE="http://bcm43xx.berlios.de" |
SRC_URI="http://download.berlios.de/bcm43xx/${P}.tar.bz2" | SRC_URI="http://download.berlios.de/bcm43xx/${P}.tar.bz2" |
|
|
DEPEND="" | DEPEND="" |
RDEPEND=">=sys-apps/hotplug-20040923-r1" | RDEPEND=">=sys-apps/hotplug-20040923-r1" |
| |
|
src_unpack() { |
|
unpack ${A} |
|
cd ${S} |
|
|
|
sed -i \ |
|
-e "s:^\(CC = \).*$:\1$(tc-getCC):" \ |
|
Makefile || die "sed failed" |
|
} |
|
|
src_install() { | src_install() { |
# Install fwcutter | # Install fwcutter |
exeinto /usr/bin | exeinto /usr/bin |