summaryrefslogtreecommitdiff
blob: 2844faa3d47c1ba8a048226edb9a3563cd009f03 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="1"
inherit qt4 subversion eutils

QT4_BUILT_WITH_USE_CHECK="png"

ESVN_REPO_URI="svn://svn.dolezel.info/${PN}/trunk/${PN}"
DESCRIPTION="GUI Wake-on-LAN manager"
HOMEPAGE="http://www.dolezel.info/projects/wolman"
SRC_URI=""

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

DEPEND="|| ( x11-libs/qt-gui:4 =x11-libs/qt-4.3* )
	net-libs/libnet
	net-libs/libpcap"
RDEPEND="${DEPEND}
	sys-apps/iproute2"

S="${WORKDIR}/${PN}"

src_compile() {
	eqmake4
	emake || die "make failed"
}

src_install() {
	dosbin wolman || die "dosbin failed"
	newicon gfx/green.png ${PN}.png
	make_desktop_entry ${PN} "Wake-on-LAN manager" ${PN} "Network;RemoteAccess;Qt" /usr/sbin
}