# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit linux-mod DESCRIPTION="Windows driver wrapper to get some wireless devices working in Linux." HOMEPAGE="http://www.linuxant.com/driverloader/" SRC_URI="http://www.linuxant.com/driverloader/wlan/full/archive/${P}/${P}.tar.gz" LICENSE="linuxant GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" RDEPEND="net-wireless/wireless-tools" MODULE_NAMES="driverloader(net:${S}/modules)" BUILD_TARGETS="all" BUILD_PARAMS="DLDR_KERNELSRC=${KV_DIR}" CONFIG_CHECK="NET_RADIO" src_compile() { make all || die "make all failed" linux-mod_src_compile } src_install() { make ROOT=${D} install || die "make install failed" linux-mod_src_install } pkg_postinst() { linux-mod_pkg_postinst einfo einfo "To finish installing driverloader, do the following:" einfo einfo "1. Type 'dldrconfig --webconf' and hit enter again. This" einfo "will start the web configuration server so that it is only" einfo "accessible from this machine. Use any browser to go to" einfo "http://127.0.0.1:18020, and use your root user and password." einfo "Upload your windows drivers and enter your license. Licenses" einfo "cost \$19.95, you can get a 30-day free trial from" einfo "http://www.linuxant.com." einfo einfo "2. Once the drivers have been installed, it is smart to" einfo "disable the web configuration server by typing" einfo "'dldrconfig --webconf=off'. If you ever need to change" einfo "settings, you can reactivate the server. Once the drivers" einfo "are uploaded, you should have a new eth0 device, and you" einfo "can use standard tools (iwconfig, ifconfig) to configure it." einfo }