diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-15 18:53:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-15 18:53:15 +0000 |
commit | 57e62db33bb33adb6593a2be7b3a5990aaf01f56 (patch) | |
tree | 704b2b7ce3d7048511ed7400b090f035b81fbbb1 /dev-java/tomcat-jsp-api/tomcat-jsp-api-10.1.2.ebuild | |
parent | 8b256c06858dd62dc5a70f801c732e9ab8226123 (diff) |
gentoo auto-resync : 15:11:2022 - 18:53:15
Diffstat (limited to 'dev-java/tomcat-jsp-api/tomcat-jsp-api-10.1.2.ebuild')
-rw-r--r-- | dev-java/tomcat-jsp-api/tomcat-jsp-api-10.1.2.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-java/tomcat-jsp-api/tomcat-jsp-api-10.1.2.ebuild b/dev-java/tomcat-jsp-api/tomcat-jsp-api-10.1.2.ebuild new file mode 100644 index 000000000000..8ed840e8e5e8 --- /dev/null +++ b/dev-java/tomcat-jsp-api/tomcat-jsp-api-10.1.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="org.apache.tomcat:tomcat-jsp-api:10.1.2" + +inherit java-pkg-2 java-pkg-simple verify-sig + +DESCRIPTION="Tomcat's JSP API 3.1 implementation" +HOMEPAGE="https://tomcat.apache.org/" +SRC_URI="mirror://apache/tomcat/tomcat-$(ver_cut 1)/v${PV}/src/apache-tomcat-${PV}-src.tar.gz + verify-sig? ( https://downloads.apache.org/tomcat/tomcat-$(ver_cut 1)/v${PV}/src/apache-tomcat-${PV}-src.tar.gz.asc )" + +LICENSE="Apache-2.0" +SLOT="3.1" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" + +CP_DEPEND=" + ~dev-java/tomcat-el-api-${PV}:5.0 + ~dev-java/tomcat-servlet-api-${PV}:6.0 +" + +DEPEND=" + >=virtual/jdk-11:* + ${CP_DEPEND}" + +RDEPEND=" + >=virtual/jre-11:* + ${CP_DEPEND}" + +BDEPEND="verify-sig? ( ~sec-keys/openpgp-keys-apache-tomcat-${PV}:${PV} )" +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/tomcat-${PV}.apache.org.asc" + +S="${WORKDIR}/apache-tomcat-${PV}-src" + +JAVA_RESOURCE_DIRS="resources" +JAVA_SRC_DIR="java/jakarta/servlet/jsp" + +src_prepare() { + default + mkdir -p resources/jakarta/servlet || "creating \"resources\" failed" + cp -r {java,resources}/jakarta/servlet/jsp || "cannot copy to \"resources\" dir" + find resources \( -name '*.java' -o -name 'tagext' \) \ + -exec rm -rf {} + || die "removing *.java files failed" +} |