diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2003-11-28 23:08:11 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2003-11-28 23:08:11 +0000 |
commit | e9510ba84afd0028ba505007ca5ac0d5916327ce (patch) | |
tree | d1ad784cbe97e44fb879a2e580905a287db30bac /app-admin/quickswitch/quickswitch-1.05.ebuild | |
parent | New version (diff) | |
download | gentoo-2-e9510ba84afd0028ba505007ca5ac0d5916327ce.tar.gz gentoo-2-e9510ba84afd0028ba505007ca5ac0d5916327ce.tar.bz2 gentoo-2-e9510ba84afd0028ba505007ca5ac0d5916327ce.zip |
New version
Diffstat (limited to 'app-admin/quickswitch/quickswitch-1.05.ebuild')
-rw-r--r-- | app-admin/quickswitch/quickswitch-1.05.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/app-admin/quickswitch/quickswitch-1.05.ebuild b/app-admin/quickswitch/quickswitch-1.05.ebuild new file mode 100644 index 000000000000..de40085477d7 --- /dev/null +++ b/app-admin/quickswitch/quickswitch-1.05.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/quickswitch/quickswitch-1.05.ebuild,v 1.1 2003/11/28 23:08:01 lu_zero Exp $ + +IUSE="ncurses" + +DESCRIPTION="Utility to switch network profiles on the fly" +SRC_URI="mirror://sourceforge/quickswitch/${P}.tar.gz" +HOMEPAGE="http://quickswitch.sf.net" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc " + +DEPEND=">=dev-lang/perl-5.6.0" +RDEPEND="ncurses? ( dev-perl/CursesWidgets )" + +src_install() { + dobin switchto + dosed "s:/etc/switchto.conf:/etc/quickswitch/switchto.conf:" /usr/bin/switchto + dosed "s:/etc/switchto.last:/etc/quickswitch/switchto.last:" /usr/bin/switchto + if [ "`use ncurses`" ]; then + dobin switcher + dosed "s:/etc/switchto.conf:/etc/quickswitch/switchto.conf:" /usr/bin/switcher + fi + + dodir /etc/quickswitch + insinto /etc/quickswitch + newins switchto.conf switchto.conf.sample + + dodoc README LICENSE +} |