/[gentoo-x86]/net-misc/pedro/pedro-1.6.ebuild
Gentoo

Contents of /net-misc/pedro/pedro-1.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Mar 18 15:35:07 2012 UTC (2 years, 4 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Drop sparc keywords

(Portage version: 2.1.10.49/cvs/Linux ia64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/pedro/pedro-1.6.ebuild,v 1.4 2012/02/15 16:38:57 ranger Exp $
4
5 EAPI=2
6
7 inherit eutils
8
9 DESCRIPTION="Pedro is a subscription/notification communications system"
10 HOMEPAGE="http://www.itee.uq.edu.au/~pjr/HomePages/PedroHome.html"
11 SRC_URI="http://www.itee.uq.edu.au/~pjr/HomePages/PedroFiles/${P}.tgz
12 doc? ( mirror://gentoo/${PN}-manual-${PV}.tar.gz )"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="amd64 ppc x86"
17 IUSE="doc examples"
18
19 RDEPEND="dev-libs/glib:2"
20 DEPEND="${RDEPEND}"
21
22 S="${WORKDIR}"/${P}
23
24 src_prepare() {
25 epatch "${FILESDIR}"/${P}-portage.patch
26 }
27
28 src_install() {
29 emake DESTDIR="${D}" install || die "emake install failed"
30
31 dodoc AUTHORS README || die
32
33 if use doc ; then
34 dodoc "${WORKDIR}"/${PN}.pdf || die
35 fi
36
37 if use examples ; then
38 insinto /usr/share/doc/${PF}/examples
39 doins src/examples/*.{c,tcl} || die
40 insinto /usr/share/doc/${PF}/examples/java_api
41 doins src/java_api/*.java || die
42 insinto /usr/share/doc/${PF}/examples/python_api
43 doins src/python_api/*.py || die
44 fi
45 }

  ViewVC Help
Powered by ViewVC 1.1.20