--- /usr/portage/net-wireless/acx/acx-0.3.35_p20060521.ebuild 2006-12-20 03:36:19.000000000 +0100 +++ acx-0.3.35_p20070101.ebuild 2007-01-24 12:38:46.539024641 +0100 @@ -1,13 +1,14 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/acx/acx-0.3.35_p20060521.ebuild,v 1.3 2006/12/20 02:24:44 spb Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/acx/acx-0.3.35_p20070101.ebuild,v 1.3 2006/12/20 02:24:44 spb Exp $ inherit linux-mod -DESCRIPTION="Driver for the ACX100 and ACX111 wireless chipset (CardBus, PCI, USB)" +PATCHLEVEL=${PV##*_p} +DESCRIPTION="Driver for the ACX100 and ACX111 wireless chipset (CardBus, PCI, USB)" HOMEPAGE="http://acx100.sourceforge.net/" -SRC_URI="http://acx100.erley.org/acx-20060521.tar.bz2" +SRC_URI="http://lisas.de/~andi/acx100/${PN}-${PATCHLEVEL}.tar.bz2" LICENSE="GPL-2 as-is" SLOT="0" @@ -18,7 +19,7 @@ RDEPEND="net-wireless/wireless-tools net-wireless/acx-firmware" -S=${WORKDIR} +S=${WORKDIR}/${PN}-${PATCHLEVEL} MODULE_NAMES="acx(net:${S})" CONFIG_CHECK="NET_RADIO FW_LOADER" @@ -34,14 +35,12 @@ chmod ug+w . -R # The default acx_config.h has some rather over-zealous debug output. + cd $S if ! use debug; then sed -i '/^#define ACX_DEBUG/s/2/0/' acx_config.h || die "Failed to disable debug support" fi - # fix 2.6.18 compilation - epatch ${FILESDIR}/${P}-2.6.18.patch - epatch ${FILESDIR}/${P}-2.6.19.patch } src_install() {