summaryrefslogtreecommitdiff
blob: dfb908f6febfa6ae753266cd5e03c705e2a4647a (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
38
39
40
41
42
43
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/omnievents/omnievents-2.6.2.ebuild,v 1.3 2007/07/12 02:52:15 mr_bones_ Exp $

inherit versionator

MY_PV=$(replace_all_version_separators "_")
MY_P="omniEvents-${MY_PV}"

DESCRIPTION="An implementation of the CORBA Events Service for omniORB"
SRC_URI="mirror://sourceforge/omnievents/${MY_P}-src.tar.gz"
HOMEPAGE="http://www.omnievents.org/"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~x86"

DEPEND=">=net-misc/omniORB-4"

S=${WORKDIR}/${MY_P}

src_compile() {
	econf || die "Failed to configure!"
	emake -j1 || die "Failed to compile!"
}

src_install () {
	make DESTDIR=${D} install

	doman doc/man/*

	dohtml -A xml -x man,rc -r doc/*

	insinto /usr/share/doc/${PF}/examples
	doins -r examples/*

	diropts -m0700
	dodir /var/lib/omniEvents
	keepdir /var/lib/omniEvents

	newinitd "${FILESDIR}"/${PN}-init ${PN}
	newinitd "${FILESDIR}"/${PN}-conf ${PN}
}