# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/SundanceIP100A-1.20.ebuild Exp $ DESCRIPTION="Linux base driver for the Sundance IP100A" HOMEPAGE="http://www.icplus.com.tw/driver-pp-IP100A.html" LICENSE="GPL-2" DEPEND="virtual/linux-sources" #SRC_URI="http://www.icplus.com.tw/Data/driver/IP100A%20for%20Linux%20driver%20v1.20.zip" SRC_URI="mirror:///IP100A-1.20.zip" SLOT="${KV}" KEYWORDS="~x86" IUSE="" src_unpack() { unzip "$DISTDIR/${A}" -d "${S}" } src_compile() { check_KV cd "${S}" emake ARCH="i386" all || die } src_install () { insinto "/lib/modules/${KV}/drivers/net" doins ${S}/sundance.ko dodoc readme.txt } pkg_postinst() { einfo "" einfo "WARNING! The driver has the same name as the kernel module" einfo "for the Sundance Alta. So overwrite it." einfo "" }