blob: 68e967a8f44c7c815ffc5a1d343baf66d1499f5a (
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-im/jive-messenger/jive-messenger-2.2.0.ebuild,v 1.4 2005/10/02 14:55:46 flameeyes Exp $
inherit java-utils
DESCRIPTION="Jive Messenger Jabber server"
HOMEPAGE="http://jivesoftware.org/messenger/"
SRC_URI="http://jivesoftware.org/builds/messenger/${PN//-/_}_src_${PV//./_}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RDEPEND="|| ( >=virtual/jre-1.5 >=virtual/jdk-1.5 )"
DEPEND=">=virtual/jdk-1.5 dev-java/ant"
S=${WORKDIR}/${PN//-/_}_src
src_compile() {
java-utils_vm-version-sufficient
ant -f build/build.xml || die
}
src_install() {
dodir /opt
mv target ${D}/opt/jive_messenger
fowners -R root:0 /opt/jive_messenger
doinitd ${FILESDIR}/init.d/jive
}
pkg_postinst() {
enewgroup jive
enewuser jive -1 -1 /dev/null jive
chown -R jive:jive /opt/jive_messenger/logs/
chown -R jive:jive /opt/jive_messenger/conf/
}
|