diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-12-04 12:49:34 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-12-04 12:49:34 +0000 |
commit | 4a565522d719704d4d6611280cf676e3fc5b9358 (patch) | |
tree | e420496f8b4c4a4f33588652da7e7741e932e980 /dev-java/jal | |
parent | 1.1.0 final ebuild (diff) | |
download | historical-4a565522d719704d4d6611280cf676e3fc5b9358.tar.gz historical-4a565522d719704d4d6611280cf676e3fc5b9358.tar.bz2 historical-4a565522d719704d4d6611280cf676e3fc5b9358.zip |
Initial import. Fixes #63294.
Diffstat (limited to 'dev-java/jal')
-rw-r--r-- | dev-java/jal/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/jal/Manifest | 5 | ||||
-rw-r--r-- | dev-java/jal/files/buildxml.patch | 18 | ||||
-rw-r--r-- | dev-java/jal/files/digest-jal-20031117 | 1 | ||||
-rw-r--r-- | dev-java/jal/jal-20031117.ebuild | 57 | ||||
-rw-r--r-- | dev-java/jal/metadata.xml | 15 |
6 files changed, 104 insertions, 0 deletions
diff --git a/dev-java/jal/ChangeLog b/dev-java/jal/ChangeLog new file mode 100644 index 000000000000..7d31b00c6328 --- /dev/null +++ b/dev-java/jal/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-java/jal +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed unde the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jal/ChangeLog,v 1.7 2004/12/04 12:49:34 karltk Exp $ + +*jal-20031117 (04 Dec 2004) + + 04 Dec 2004; Karl Trygve Kalleberg <karltk@gentoo.org> jal-20031117.ebuild: + Initial import. Ebuild submitted by Jan Brinkmann <lucky@the-luckyduck.de>. diff --git a/dev-java/jal/Manifest b/dev-java/jal/Manifest new file mode 100644 index 000000000000..061d64b42bf4 --- /dev/null +++ b/dev-java/jal/Manifest @@ -0,0 +1,5 @@ +MD5 6e2be1dec7a61e61846cd8734113c56d jal-20031117.ebuild 1365 +MD5 f83614b983e9fc514f66aaf7e82f3387 ChangeLog 389 +MD5 ed9b72dfb2203fb6dde74050a33a92fa metadata.xml 477 +MD5 9b77e4f20dadfbe6d50c82470c8a5599 files/buildxml.patch 482 +MD5 6dc56919a415fcf91bbeae37322eada8 files/digest-jal-20031117 67 diff --git a/dev-java/jal/files/buildxml.patch b/dev-java/jal/files/buildxml.patch new file mode 100644 index 000000000000..16e39c93e222 --- /dev/null +++ b/dev-java/jal/files/buildxml.patch @@ -0,0 +1,18 @@ +diff -uprN jal-20031117.orig/build.xml jal-20031117/build.xml +--- jal-20031117.orig/build.xml 2004-11-22 17:00:41.200663880 +0100 ++++ jal-20031117/build.xml 2004-11-22 20:00:39.322099904 +0100 +@@ -16,11 +16,13 @@ + debug="on" + optimize="on" + destdir="${build}" ++ source="1.4" ++ target="1.4" + /> + </target> + + <target name="jar" depends="compile"> +- <jar jarfile="jal-${version}.jar" ++ <jar jarfile="jal.jar" + basedir="${build}" + /> + </target> diff --git a/dev-java/jal/files/digest-jal-20031117 b/dev-java/jal/files/digest-jal-20031117 new file mode 100644 index 000000000000..a8979a5859bf --- /dev/null +++ b/dev-java/jal/files/digest-jal-20031117 @@ -0,0 +1 @@ +MD5 22b70a75145bba28e41108b4fbf2cb30 jal-20031117-src.tar.gz 48793 diff --git a/dev-java/jal/jal-20031117.ebuild b/dev-java/jal/jal-20031117.ebuild new file mode 100644 index 000000000000..584ebbdd7689 --- /dev/null +++ b/dev-java/jal/jal-20031117.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jal/jal-20031117.ebuild,v 1.7 2004/12/04 12:49:34 karltk Exp $ + +inherit eutils java-pkg + +DESCRIPTION="Jal is a partial port of the STL by the C++ Standard Template Library." +SRC_URI="http://vigna.dsi.unimi.it/jal/${P}-src.tar.gz" +HOMEPAGE="http://vigna.dsi.unimi.it/jal/" +LICENSE="X11" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="doc jikes" +DEPEND=">=virtual/jdk-1.4 + jikes?( >=dev-java/jikes-1.21 )" +RDEPEND=">=virtual/jre-1.4 + >=dev-java/fastutil-3.1" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/buildxml.patch + + # we have to generate the sources first + ./instantiate -n byte bytes + ./instantiate -n short shorts + ./instantiate -n char chars + ./instantiate -n int ints + ./instantiate -n long longs + ./instantiate -n float floats + ./instantiate -n double doubles + ./instantiate Object objects + ./instantiate String strings + mkdir -p src/jal + mv bytes shorts chars ints longs floats doubles objects strings src/jal + +} + +src_compile () { + local antflags="jar" + if use doc; then + antflags="${antflags} javadoc" + fi + if use jikes; then + antflags="${antflags} -Dbuild.compiler=jikes" + fi + ant ${antflags} +} + +src_install() { + java-pkg_dojar ${PN}.jar + if use doc; then + java-pkg_dohtml -r docs/* + fi +} + diff --git a/dev-java/jal/metadata.xml b/dev-java/jal/metadata.xml new file mode 100644 index 000000000000..b0674eea3dc3 --- /dev/null +++ b/dev-java/jal/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> +<herd>java</herd> + +<longdescription> +Jal is a partial port of the STL by the C++ Standard Template Library, done by +Matthew Austern and Alexander Stepanov. + +It contains several useful algorithms that cannot be found elsewhere (e.g., +linear-time n-th order statistics and sorting arrays using arbitrary +predicates). +</longdescription> +</pkgmetadata> |