blob: 24b21cea6b257337bf63002b495818cbf3fe8490 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Utility to switch network profiles on the fly"
SRC_URI="mirror://sourceforge/quickswitch/${P}.tar.gz"
HOMEPAGE="http://quickswitch.sf.net"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc sparc s390 amd64"
IUSE="ncurses"
DEPEND=">=dev-lang/perl-5.6.0"
RDEPEND="ncurses? ( dev-perl/CursesWidgets )"
PATCHES=( "${FILESDIR}"/${PN}-1.05-fix-paths.patch )
src_install() {
dobin switchto
use ncurses && dobin switcher
insinto /etc/quickswitch
newins switchto.conf switchto.conf.sample
einstalldocs
}
|