# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit linux-mod eutils DESCRIPTION="Linux Driver for ZyDAS 1201 (zd1201) based USB 802.11b Network WiFi devices" S=${WORKDIR} FW_VERSION="${PV}" HOMEPAGE="http://linux-lc100020.sourceforge.net/" SRC_URI="mirror://sourceforge/linux-lc100020/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" IUSE="" RDEPEND="=net-wireless/zd1201-firmware-${FW_VERSION} >=net-wireless/wireless-tools-27_pre23" MODULE_NAMES="zd1201(net:)" BUILD_TARGETS="clean modules" pkg_setup() { if kernel_is lt 2 6 10; then die "Please upgrade to kernel 2.6.10 or above. There is a USB issue with anything lower." fi linux-mod_pkg_setup } src_install() { linux-mod_src_install || die dodoc README }