-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI="1"
-inherit qt4 subversion
+EAPI="2"
+inherit qt4-r2 subversion eutils
QT4_BUILT_WITH_USE_CHECK="png"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS=""
IUSE=""
-DEPEND="|| ( x11-libs/qt-gui:4 =x11-libs/qt-4.3* )
+DEPEND="dev-qt/qtgui:4
net-libs/libnet
net-libs/libpcap"
RDEPEND="${DEPEND}
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
}