From a2d172870650a6294e58e8f87806a3a4cd09796f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 30 Nov 2002 02:42:21 +0000 Subject: Changed src_install () to src_install() --- app-admin/quickswitch/quickswitch-0.10.ebuild | 5 ++--- app-admin/quickswitch/quickswitch-1.0_pre1.ebuild | 12 ++++++------ 2 files changed, 8 insertions(+), 9 deletions(-) (limited to 'app-admin/quickswitch') diff --git a/app-admin/quickswitch/quickswitch-0.10.ebuild b/app-admin/quickswitch/quickswitch-0.10.ebuild index 6abffd98706a..5c4ebc04aef6 100644 --- a/app-admin/quickswitch/quickswitch-0.10.ebuild +++ b/app-admin/quickswitch/quickswitch-0.10.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/quickswitch/quickswitch-0.10.ebuild,v 1.9 2002/10/04 03:45:25 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/quickswitch/quickswitch-0.10.ebuild,v 1.10 2002/11/30 02:33:59 vapier Exp $ S=${WORKDIR}/${PN} DESCRIPTION="Utility to switch network profiles on the fly" @@ -13,8 +13,7 @@ KEYWORDS="x86 sparc sparc64" DEPEND="sys-devel/perl" - -src_install () { +src_install() { dobin switchto dosed "s:/etc/switch.conf:/etc/quickswitch/switch.conf:" /usr/bin/switchto dosed "s:/etc/switchto.last:/etc/quickswitch/switchto.last:" /usr/bin/switchto diff --git a/app-admin/quickswitch/quickswitch-1.0_pre1.ebuild b/app-admin/quickswitch/quickswitch-1.0_pre1.ebuild index c7622308fea1..b7e9b07f32b7 100644 --- a/app-admin/quickswitch/quickswitch-1.0_pre1.ebuild +++ b/app-admin/quickswitch/quickswitch-1.0_pre1.ebuild @@ -1,21 +1,21 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/quickswitch/quickswitch-1.0_pre1.ebuild,v 1.8 2002/10/20 18:14:57 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/quickswitch/quickswitch-1.0_pre1.ebuild,v 1.9 2002/11/30 02:35:13 vapier Exp $ -S=${WORKDIR}/quickwitch +MY_PN="quickwitch" +MY_P="${MY_PN}-${PV/_/}" +S=${WORKDIR}/${MY_PN} DESCRIPTION="Utility to switch network profiles on the fly" -SRC_URI="mirror://sourceforge/quickswitch/quickwitch-1.0pre1.tar.gz" +SRC_URI="mirror://sourceforge/quickswitch/${MY_P}.tar.gz" HOMEPAGE="http://edgesolutions.ca/" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 ppc sparc sparc64" - DEPEND=">=sys-devel/perl-5.6.0" -src_install () { - cd ${S} +src_install() { dobin switchto dobin switcher dosed "s:/etc/switchto.conf:/etc/quickswitch/switchto.conf:" /usr/bin/switchto -- cgit v1.2.3-65-gdbad