/[gentoo-x86]/dev-java/mg4j/mg4j-0.9.1-r2.ebuild
Gentoo

Contents of /dev-java/mg4j/mg4j-0.9.1-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Sep 27 17:15:57 2012 UTC (23 months ago) by sera
Branch: MAIN
Require >=jdk-1.5 for javacc-5.0. #315557
EAPI bump and make better use of eclasses.

(Portage version: 2.1.11.13/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/mg4j/mg4j-0.9.1-r1.ebuild,v 1.4 2008/03/02 14:36:10 philantrop Exp $
4
5 EAPI="4"
6
7 JAVA_PKG_IUSE="doc source"
8
9 inherit eutils java-pkg-2 java-ant-2
10
11 DESCRIPTION="A free Java implementation of inverted-index compression technique."
12 SRC_URI="http://mg4j.dsi.unimi.it/${P}-src.tar.gz"
13 HOMEPAGE="http://mg4j.dsi.unimi.it"
14
15 LICENSE="LGPL-2.1"
16 SLOT="0.9"
17 KEYWORDS="~amd64 ~ppc ~x86"
18 IUSE=""
19
20 COMMON_DEP="
21 dev-java/colt:0
22 dev-java/fastutil:4.3
23 dev-java/jal:0
24 dev-java/java-getopt:1
25 dev-java/libreadline-java:0"
26 RDEPEND="${COMMON_DEP}
27 >=virtual/jre-1.5"
28 DEPEND="${COMMON_DEP}
29 >=virtual/jdk-1.5
30 dev-java/javacc:0"
31
32 java_prepare() {
33 epatch "${FILESDIR}/mg4j-build.patch"
34 }
35
36 JAVA_ANT_REWRITE_CLASSPATH="yes"
37
38 EANT_GENTOO_CLASSPATH="colt,fastutil-4.3,jal,java-getopt-1,libreadline-java"
39
40 src_install() {
41 java-pkg_newjar ${P}.jar
42
43 use doc && java-pkg_dojavadoc docs
44 use source && java-pkg_dosrc java/it
45 }

  ViewVC Help
Powered by ViewVC 1.1.20