summaryrefslogtreecommitdiff
path: root/dev-java/cpptasks
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-23 10:47:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-23 10:47:12 +0000
commit02d5de423c2b7f8d7c873bcc7a1a222b1847149d (patch)
tree29d109245f3aa2842c63489c8ec537f85e92ff41 /dev-java/cpptasks
parent0770f5276c9044be774368cba8d9d8ce7a43627a (diff)
gentoo auto-resync : 23:01:2024 - 10:47:12
Diffstat (limited to 'dev-java/cpptasks')
-rw-r--r--dev-java/cpptasks/Manifest1
-rw-r--r--dev-java/cpptasks/cpptasks-1.0_beta5-r2.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-java/cpptasks/Manifest b/dev-java/cpptasks/Manifest
index a97f5b7256db..ce86db61e400 100644
--- a/dev-java/cpptasks/Manifest
+++ b/dev-java/cpptasks/Manifest
@@ -1,4 +1,5 @@
AUX cpptasks-1.0_beta5-test-classpath.patch 1070 BLAKE2B eacc916610026d4eb25fe7a217ce23e6ca485400e9f90c8ac37a4fb614fd0ac59d622161f79854b664db0e1cc48d047655479d817fcade448952d4c231d33860 SHA512 4ce1d06f6cb1a32ff8807f9e9ad8deddef26d4ea6ed6b2826d80e3ca16c491ecefb0c850ad9a958fdae3cdbd764852ab3a5f0ad66464b928f4c12061e3cb3e73
DIST cpptasks-1.0b5.tar.gz 902930 BLAKE2B 02cc20ea8e4316f7d0572cd147868219f1cfa326fd87d2edbea8a9b81c88f83173a373a88149bc2da55099bb9a0ac4d1f8927a6c708e6a5640b56220dbdba006 SHA512 620d16e60cdd4d8a09efe6c5889ec1beb20d38df3a7ebf337de546cd60881b4c22a08f24374e7dac02dbbb3b23defbb740a70f1d0ff59212496e631251f0e32c
EBUILD cpptasks-1.0_beta5-r1.ebuild 1302 BLAKE2B ae0c062ef9ccbcb1c9af7ad35cd31a48e5c925d1dc7a2557d3cd2eff4ecabcaf0b052d181ed0f5810a3cd6ed1aa97daa3e273ed9f0212e4477c3b97d0978111e SHA512 e194312ce4f012548907e6d95d65eb261fe2d3a5f92fcaa68cd1bd76ce340ab04d485c156e79bdc59d975ddbdd375c5a3575fa1e9fe85ab0d8505764677d804d
+EBUILD cpptasks-1.0_beta5-r2.ebuild 1310 BLAKE2B 7a8707cb2e3249e17e7098051cae379ee1289f27ffe71c79905c7413af94540a1853e48104212aebc679ea66ac98d9f37a75911c3a6d98adcd4e375603b21351 SHA512 9c3c8f3cf1eabc7f52e543b9c6dfc1208587e6674cc7973c7c510173b74820ea2c53f8dd44eadca2ea422ca6d57caf29ebaaf45aba742bc6e85b2aedb4db7d61
MISC metadata.xml 318 BLAKE2B 53f5719585c7a4f0479017c4410975aefadcedd17db45949c351329e28761f05ebd89ef0557505a9a3ae03967b9baefe3e2c5b1edf0116a10434755a8d76fbe3 SHA512 b89f13a465ae0f1cad3352319206dc922badf513f63af878b118577e1f6da322b824dd14ca9220cf10aa5c5463c30399f001395a36c45c3b69228a375be379ee
diff --git a/dev-java/cpptasks/cpptasks-1.0_beta5-r2.ebuild b/dev-java/cpptasks/cpptasks-1.0_beta5-r2.ebuild
new file mode 100644
index 000000000000..151d4b64841e
--- /dev/null
+++ b/dev-java/cpptasks/cpptasks-1.0_beta5-r2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc examples source test"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Ant-tasks to compile various source languages and produce executables"
+HOMEPAGE="http://ant-contrib.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ant-contrib/ant-contrib/${P/_/-}/${P/_beta/b}.tar.gz"
+S="${WORKDIR}/${P/_beta/b}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64"
+
+CP_DEPEND="
+ >=dev-java/ant-1.10.14:0
+ dev-java/xerces:2
+"
+
+DEPEND="
+ >=virtual/jdk-1.8:*
+ ${CP_DEPEND}
+ test? (
+ >=dev-java/ant-1.10.14:0[junit]
+ dev-java/junit:0
+ )
+"
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+ ${CP_DEPEND}
+"
+
+JAVA_ANT_REWRITE_CLASSPATH="yes"
+JAVA_ANT_CLASSPATH_TAGS="javac javadoc"
+
+EANT_BUILD_TARGET="jars"
+EANT_TEST_TARGET="run-tests -Djunit-available=true"
+EANT_DOC_TARGET="javadocs -Dbuild.javadocs=build/api"
+
+src_prepare() {
+ java-pkg_clean
+ use test && eapply "${FILESDIR}/${P}-test-classpath.patch"
+ java-pkg-2_src_prepare
+}
+
+src_test() {
+ java-pkg-2_src_test
+}
+
+src_install() {
+ java-pkg_dojar target/lib/${PN}.jar
+
+ java-pkg_register-ant-task
+
+ dodoc NOTICE
+ use doc && java-pkg_dojavadoc build/api
+ use examples && java-pkg_doexamples src/samples/*
+ use source && java-pkg_dosrc src/main/java/*
+}