view sys-apps/servant/servant-0.1.5.ebuild @ 248:2dcbfb21d30b

fix the 3.0.0 ebuild
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 04 Oct 2010 19:46:49 +0200
parents 5dfe37a85527
children
line wrap: on
line source

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="Graphical rc-update replacement (Qt4)"

# Homepage, not used by Portage directly but handy for developer reference
HOMEPAGE="http://www.informatik.uni-bremen.de/~momesana/sys-apps/servant/"
SRC_URI="http://www.informatik.uni-bremen.de/~momesana/sys-apps/servant/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=">=x11-libs/qt-4.2.0"
S=${WORKDIR}/${PN}

src_compile() {
	qmake || die "qmake failed"
	emake || die "emake failed"
}

src_install() {
	dobin ${S}/servant || die "dobin ${S}/servant failed"
	
	dodoc ${S}/AUTHORS \
		${S}/COPYING \
		${S}/ChangeLog \
		${S}/README \
		${S}/TODO || die "installing documentation failed"
	insinto /usr/share/applnk/System/
	doins ${S}/servant.desktop
}

pkg_postinst() {
	einfo "Send your Bugreports to momesana@yahoo.de"
}