summaryrefslogtreecommitdiff
blob: 830396e9e93ccb471ca42b4aca319ea9e0cb70ea (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4
PYTHON_DEPEND="2"

inherit python eutils

DESCRIPTION="Gnome Connection Manager is a tabbed ssh connection manager for gtk"
HOMEPAGE="http://kuthulu.com/gcm/"
SRC_URI="http://kuthulu.com/gcm/gnome-connection-manager_${PV}_all.tgz -> ${P}.tgz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="
	dev-python/pygtk
	dev-perl/Expect
	x11-libs/vte[python]
	gnome-base/libglade:2.0
	net-misc/openssh
	dev-util/glade[python]"
RDEPEND="${DEPEND}"

S="${WORKDIR}"/gcm-"${PV}"

src_prepare() {
	sed -i "s|BASE_PATH = os.path.*|BASE_PATH = '/usr/$(get_libdir)/"${PN}"'|"
}

src_install() {
	insinto /usr/$(get_libdir)/"${PN}"
	doins -r donate.gif gnome-connection-manager.glade \
		gnome_connection_manager.py lang pyAES.py \
		SimpleGladeApp.py SimpleGladeApp.pyc ssh.expect
	fperms 755 /usr/$(get_libdir)/"${PN}"/gnome_connection_manager.py
	dosym /usr/$(get_libdir)/"${PN}"/gnome_connection_manager.py /usr/bin/"${PN}"
	dodoc README.txt
	doicon icon.png
}