blob: 03a473410184d7630fbc7317a47d026206288da6 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/violinstrings/violinstrings-1.0.2.ebuild,v 1.10 2005/07/15 14:24:36 axxo Exp $
inherit java-pkg
DESCRIPTION="ViolinStrings is a very useful Java package written by Michael Schmelling that provides dozens of functions to manipulate strings."
SRC_URI="http://vigna.dsi.unimi.it/ViolinStrings/${P}-src.tar.gz"
HOMEPAGE="http://vigna.dsi.unimi.it/ViolinStrings/"
LICENSE="X11"
SLOT="0"
KEYWORDS="x86 ~ppc amd64"
IUSE="jikes doc"
DEPEND=">=virtual/jdk-1.4
jikes? ( dev-java/jikes )"
RDEPEND=">=virtual/jre-1.4"
src_compile() {
local antflags="jar"
use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
use doc && antflags="${antflags} javadoc"
ant ${antflags} || die "compilation error"
}
src_install() {
java-pkg_newjar ${P}.jar ${PN}.jar
dodoc CHANGES
use doc && java-pkg_dohtml -r docs/*
}
|