# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="fast, easy to use and highly configurable network interface switching tool with interesting options for using unfriendly w/lans." HOMEPAGE="http://ge.mine.nu" SRC_URI="http://ge.mine.nu/code/ifswitch-${PV}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~sparc ~amd64 ~ppc" IUSE="" RDEPEND="app-shells/bash" src_compile() { echo " No need to compile." } src_install() { dodir /etc/ifswitch dodir /usr/sbin exeinto /usr/sbin doexe ifswitch-${PV}/work/ifswitch || die insinto /etc/ifswitch doins ${WORKDIR}/sample-* || die } pkg_postinst() { echo einfo "There are several sample files in /etc/ifswitch" einfo "Edit them or just run /usr/sbin/ifswitch to create your own network configurations with the menu." einfo "Doing it the second way is recommmended." echo }