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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Jan 20 02:35:51 2010 UTC (4 years, 7 months ago) by ranger
Branch: MAIN
Changes since 1.3: +3 -3 lines
Marking fastutil-5.1.3 ppc64 for bug 281006
(Portage version: 2.1.6.13/cvs/Linux ppc64)

1 # Copyright 1999-2010 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.1.3.ebuild,v 1.3 2008/10/25 16:52:12 nixnut Exp $
4
5 JAVA_PKG_IUSE="doc source"
6
7 inherit java-pkg-2 java-ant-2
8
9 DESCRIPTION="Provides faster type-specific maps, sets and lists with a small memory footprint."
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 ppc64 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