# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils MY_P=zd1201-${PV}-fw S=${WORKDIR} DESCRIPTION="Firmware for ZyDAS 1201 based USB 802.11b Network WiFi devices" HOMEPAGE="http://linux-lc100020.sourceforge.net/" SRC_URI="mirror://sourceforge/linux-lc100020/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND=">=sys-apps/hotplug-20040923" src_install() { insinto /lib/firmware doins ${MY_P}/zd1201.fw ${MY_P}/zd1201-ap.fw \ || die "Install Files not found! Invalid Package" dodoc ${MY_P}/README } pkg_postinst() { einfo "" einfo "Please restart hotplug (/etc/init.d/hotplug restart) to have" einfo "hotplug recognize the new firmware files." einfo "" }