commit: 6f34e4fe81c9db2863c743172da047db849a6f75 Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> AuthorDate: Tue Feb 15 15:18:16 2022 +0000 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> CommitDate: Tue Feb 15 15:30:19 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f34e4fe
dev-java/jal: EAPI 8, min java 1.8:* Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/24198 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> dev-java/jal/jal-20031117-r6.ebuild | 48 +++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/dev-java/jal/jal-20031117-r6.ebuild b/dev-java/jal/jal-20031117-r6.ebuild new file mode 100644 index 000000000000..18a84199c4ae --- /dev/null +++ b/dev-java/jal/jal-20031117-r6.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" + +CP_DEPEND="dev-java/ant-core:0" + +RDEPEND=" + ${CP_DEPEND} + >=virtual/jre-1.8:*" + +DEPEND=" + ${CP_DEPEND} + >=virtual/jdk-1.8:*" + +S="${WORKDIR}/${P}" + +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 +}