aboutsummaryrefslogtreecommitdiff
blob: 27e21c0faaf8f5634d7f5442faa243c3745a7a66 (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
44
45
46
47
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="4"

inherit eutils qt4-r2

MY_PN="KontrolPack"
MY_P="${MY_PN}-${PV}"

if [[ ${PV} == 9999 ]]; then
	inherit subversion
	ESVN_REPO_URI="http://${PN}.svn.sourceforge.net/svnroot/${PN}"
	KEYWORDS=""
else
	SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
	S=${WORKDIR}/${MY_P}
	KEYWORDS="~amd64 ~x86"
fi

DESCRIPTION="Remote shell command executor and LAN manager"
HOMEPAGE="http://www.kontrolpack.com"

LICENSE="GPL-2"
SLOT="0"
IUSE="debug"

DEPEND="dev-db/sqlite
	dev-libs/libxml2
	dev-libs/openssl
	>=x11-libs/qt-core-4.5:4
	>=x11-libs/qt-gui-4.5:4"
RDEPEND="${DEPEND}"

src_prepare() {
	sed -i -e "s/-lssl/-lcrypto/" libsecuretcp/libsecuretcp.pro \
		|| die "sed failed"
}

src_install() {
	dobin bin/${PN}
	dolib bin/*.so*

	doicon ${PN}/${PN}.png
	domenu ${PN}/${PN}.desktop
}