blob: 2b5c1d6c657e06dafb0e8a42025d997f37f0e37a (
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
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/joscar/joscar-0.9.3.ebuild,v 1.1 2004/02/22 01:51:47 zx Exp $
inherit java-pkg
DESCRIPTION="A Java library for AIM's OSCAR protocol"
SRC_URI="mirror://sourceforge/joustim/joscar-${PV}-src.tar.bz2"
HOMEPAGE="http://joust.kano.net/joscar"
SLOT="0"
LICENSE="BSD"
KEYWORDS="~x86 ~sparc"
IUSE="jikes doc"
DEPEND=">=virtual/jdk-1.4
>=dev-java/ant-1.5
jikes? ( >=dev-java/jikes-1.16 )"
RDEPEND=">=virtual/jre-1.4"
src_compile() {
local antflags="jar"
use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
use doc && antflags="${antflags} javadoc"
ant ${antflags}
}
src_install() {
java-pkg_dojar *.jar
dodoc USING CHANGELOG UPDATING README RELNOTES
use doc && dohtml -r docs/api
}
|