annotate sys-apps/servant/servant-0.1.5.ebuild @ 255:8ddc2d47fc7d

add the latest gallery ebuild from bugs.gentoo.org
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 01 Mar 2011 05:07:23 +0100
parents 5dfe37a85527
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
48
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1 # Copyright 1999-2006 Gentoo Foundation
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3 # $Header: $
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5 inherit eutils
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7 DESCRIPTION="Graphical rc-update replacement (Qt4)"
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9 # Homepage, not used by Portage directly but handy for developer reference
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10 HOMEPAGE="http://www.informatik.uni-bremen.de/~momesana/sys-apps/servant/"
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11 SRC_URI="http://www.informatik.uni-bremen.de/~momesana/sys-apps/servant/${P}.tar.bz2"
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12 LICENSE="GPL-2"
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
13 SLOT="0"
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14 KEYWORDS="~x86 ~amd64"
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
15 IUSE=""
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
16 DEPEND=">=x11-libs/qt-4.2.0"
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
17 S=${WORKDIR}/${PN}
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
18
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
19 src_compile() {
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
20 qmake || die "qmake failed"
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
21 emake || die "emake failed"
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
22 }
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
23
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
24 src_install() {
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
25 dobin ${S}/servant || die "dobin ${S}/servant failed"
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
26
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
27 dodoc ${S}/AUTHORS \
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
28 ${S}/COPYING \
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
29 ${S}/ChangeLog \
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
30 ${S}/README \
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
31 ${S}/TODO || die "installing documentation failed"
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
32 insinto /usr/share/applnk/System/
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
33 doins ${S}/servant.desktop
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
34 }
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
35
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
36 pkg_postinst() {
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
37 einfo "Send your Bugreports to momesana@yahoo.de"
5dfe37a85527 added ebuild for servant
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
38 }