/[gentoo-x86]/dev-java/fastutil/fastutil-4.4.2-r1.ebuild
Gentoo

Contents of /dev-java/fastutil/fastutil-4.4.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Wed Jun 27 09:49:03 2007 UTC (7 years, 10 months ago) by caster
Branch: MAIN
Changes since 1.5: +4 -1 lines
Raise heap size for compiling also for other slots. Fixes bug #183356.
(Portage version: 2.1.3_rc5)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/fastutil/fastutil-4.4.2-r1.ebuild,v 1.5 2007/05/03 12:40:24 nelchael Exp $
4
5 JAVA_PKG_IUSE="doc source"
6
7 inherit java-pkg-2 java-ant-2
8
9 DESCRIPTION="Provides type-specific maps, sets and lists with a small memory footprint for much faster access and insertion."
10 SRC_URI="http://fastutil.dsi.unimi.it/${P}-src.tar.gz"
11 HOMEPAGE="http://fastutil.dsi.unimi.it"
12 LICENSE="LGPL-2.1"
13 SLOT="4.4"
14 IUSE=""
15 KEYWORDS="amd64 ppc x86"
16
17 DEPEND=">=virtual/jdk-1.4"
18 RDEPEND=">=virtual/jre-1.4"
19
20 src_compile() {
21 make sources || die "failed to make sources"
22 # bug 162650 and #175578 and #183356
23 java-pkg_init-compiler_
24 [[ ${GENTOO_COMPILER} != "javac" ]] && export ANT_OPTS="-Xmx512m"
25 java-pkg-2_src_compile
26 }
27
28 src_install() {
29 java-pkg_newjar ${P}.jar
30
31 dodoc CHANGES README || die
32
33 use doc && java-pkg_dojavadoc docs
34 use source && java-pkg_dosrc java/it
35 }

  ViewVC Help
Powered by ViewVC 1.1.20