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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Mar 2 14:36:10 2008 UTC (6 years, 5 months ago) by philantrop
Branch: MAIN
Changes since 1.3: +3 -3 lines
Marked stable on amd64 as per bug 196952.
(Portage version: 2.1.4.4)

1 # Copyright 1999-2008 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.3 2007/12/26 10:46:35 maekke Exp $
4
5 JAVA_PKG_IUSE="doc source"
6
7 inherit eutils java-pkg-2 java-ant-2
8
9 DESCRIPTION="A free Java implementation of inverted-index compression technique."
10 SRC_URI="http://mg4j.dsi.unimi.it/${P}-src.tar.gz"
11 HOMEPAGE="http://mg4j.dsi.unimi.it"
12 LICENSE="LGPL-2.1"
13 SLOT="0.9"
14 KEYWORDS="amd64 ~ppc x86"
15 IUSE=""
16
17 COMMON_DEP="=dev-java/fastutil-4.3*
18 >=dev-java/jal-20031117
19 dev-java/colt
20 =dev-java/java-getopt-1.0*
21 =dev-java/libreadline-java-0.8*"
22
23 RDEPEND=">=virtual/jre-1.4
24 ${COMMON_DEP}"
25
26 DEPEND=">=virtual/jdk-1.4
27 >=dev-java/javacc-3
28 ${COMMON_DEP}"
29
30 src_unpack() {
31
32 unpack ${A}
33
34 cd "${S}"
35 epatch "${FILESDIR}/mg4j-build.patch"
36
37 mkdir lib/ && cd lib/
38 java-pkg_jar-from colt
39 java-pkg_jar-from fastutil-4.3
40 java-pkg_jar-from jal
41 java-pkg_jar-from libreadline-java
42 java-pkg_jar-from java-getopt-1
43
44 }
45
46 src_install() {
47
48 java-pkg_newjar ${P}.jar
49
50 use doc && java-pkg_dojavadoc docs
51 use source && java-pkg_dosrc java/it
52
53 }

  ViewVC Help
Powered by ViewVC 1.1.20