diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2024-03-11 15:11:58 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-03-13 12:13:12 +0100 |
commit | 57d70b4bf1457acaacbfb959637b34af3bbbde4a (patch) | |
tree | 9eb0fd2c7e31b9d79387e34e093a365880f056b9 /dev-java/jal/jal-20031117-r7.ebuild | |
parent | dev-java/htmlcleaner: switch to dev-java/ant (diff) | |
download | gentoo-57d70b4bf1457acaacbfb959637b34af3bbbde4a.tar.gz gentoo-57d70b4bf1457acaacbfb959637b34af3bbbde4a.tar.bz2 gentoo-57d70b4bf1457acaacbfb959637b34af3bbbde4a.zip |
dev-java/jal: no longer depend on deprecated ant-core
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/35723/commits/5f96954d65fb046af2eb69bcf1bf719d51236791
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/jal/jal-20031117-r7.ebuild')
-rw-r--r-- | dev-java/jal/jal-20031117-r7.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-java/jal/jal-20031117-r7.ebuild b/dev-java/jal/jal-20031117-r7.ebuild new file mode 100644 index 000000000000..184a2ce24dc7 --- /dev/null +++ b/dev-java/jal/jal-20031117-r7.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 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="https://wiki.gentoo.org/wiki/No_homepage" +SRC_URI="https://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz" +S="${WORKDIR}/${P}" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="amd64 x86" + +DEPEND=" + dev-java/ant:0 + >=virtual/jdk-1.8:* +" + +RDEPEND=">=virtual/jre-1.8:*" + +JAVA_CLASSPATH_EXTRA="ant" +JAVA_SRC_DIR="src/jal" + +src_prepare() { + java-pkg-2_src_prepare + + # 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 +} |