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

Contents of /dev-java/fastutil/fastutil-5.0.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Nov 25 15:15:49 2007 UTC (6 years, 8 months ago) by ranger
Branch: MAIN
Changes since 1.3: +2 -2 lines
Marking fastutil-5.0.9 ppc for bug 199246
(Portage version: 2.1.3.19)

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-5.0.9.ebuild,v 1.3 2007/11/19 18:53:40 wltjr 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="5.0"
14 IUSE=""
15 KEYWORDS="amd64 ppc x86"
16
17 DEPEND=">=virtual/jdk-1.5"
18 RDEPEND=">=virtual/jre-1.5"
19
20 src_compile() {
21 emake sources || die "failed to make sources"
22 # bug 162650 and #175578
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