summaryrefslogtreecommitdiff
path: root/dev-java/jal
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jal')
-rw-r--r--dev-java/jal/Manifest3
-rw-r--r--dev-java/jal/jal-20031117-r5.ebuild50
-rw-r--r--dev-java/jal/metadata.xml17
3 files changed, 70 insertions, 0 deletions
diff --git a/dev-java/jal/Manifest b/dev-java/jal/Manifest
new file mode 100644
index 000000000000..b4b9f1b01039
--- /dev/null
+++ b/dev-java/jal/Manifest
@@ -0,0 +1,3 @@
+DIST jal-20031117.tar.gz 48793 BLAKE2B b7cb51f5adb2b0f2fc4e03c9adf826519accee43aee3d98be0139439408527618af9e30b63c1e439a5defe4c74a0185ea48e9fd24235a319e9571fb8764e080f SHA512 0cb6cbd5e80d38dfbf57417b756dbc3bdddb2a28c4cbec292799ee71ac86cff3121f1e09e86f976f6562dafac54835bdd58780e4f1ffe733897b6d6ef053f95e
+EBUILD jal-20031117-r5.ebuild 1079 BLAKE2B 139496cd711ac7f710d391445fe7f0dd9e579ea61a5654a4a4be9af2c597b62bd8b098a6b0a38a8496742b7806ded4620bc909a9f8fea43fb4520b9aed3f3e03 SHA512 ad0c21c2c75426e8e37b59682da2f6e79f45317232ba15229193e30d0d0cfc1f7838c507255889525fd1808a8a7802e7e6a4c9f8f4deadb6ae9a38a725c72688
+MISC metadata.xml 548 BLAKE2B 98ab8d85352d8f9b31d0ee52c91ab1d1d3904e1f23296a10999ed62c566ea701dda4e4453391ba8845816bb38b440a53c274897d7999707a698a526ad2596619 SHA512 68e3dde016ecf0b0b8cd8c5802450b316ca2a523e9b36f1c88412bbb91396df16a754d730a2eedab1452c63dc543297ab654c7aa77638f40d9e6de41f49b5c1b
diff --git a/dev-java/jal/jal-20031117-r5.ebuild b/dev-java/jal/jal-20031117-r5.ebuild
new file mode 100644
index 000000000000..f3d33be5161f
--- /dev/null
+++ b/dev-java/jal/jal-20031117-r5.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Partial port of the C++ Standard Template Library"
+HOMEPAGE="http://vigna.dsi.unimi.it/jal"
+SRC_URI="https://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+CDEPEND="dev-java/ant-core:0"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.6"
+
+S="${WORKDIR}/${P}"
+
+JAVA_GENTOO_CLASSPATH="ant-core"
+
+JAVA_SRC_DIR="src/jal"
+
+src_prepare() {
+ default
+
+ # Generate sources.
+ ./instantiate -n byte bytes || die
+ ./instantiate -n short shorts || die
+ ./instantiate -n char chars || die
+ ./instantiate -n int ints || die
+ ./instantiate -n long longs || die
+ ./instantiate -n float floats || die
+ ./instantiate -n double doubles || die
+ ./instantiate Object objects || die
+ ./instantiate String strings || die
+
+ mkdir -p src/jal || die
+ mv bytes shorts chars ints longs floats doubles objects strings src/jal || die
+}
diff --git a/dev-java/jal/metadata.xml b/dev-java/jal/metadata.xml
new file mode 100644
index 000000000000..6cf26e42b5b0
--- /dev/null
+++ b/dev-java/jal/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+</maintainer>
+
+<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>