diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-12 01:39:26 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-12 01:39:26 +0100 |
commit | c07955fffc8c82b9d37211c3f7f38455d7ef0599 (patch) | |
tree | 518de1cd622be372b3caf8872bb6eb0ab2e2fc6e /dev-java/tomcat-el-api/tomcat-el-api-10.1.1.ebuild | |
parent | c650f7cf611feaa59620fd8626e78108fa3b5e51 (diff) |
gentoo auto-resync : 12:10:2022 - 01:39:26
Diffstat (limited to 'dev-java/tomcat-el-api/tomcat-el-api-10.1.1.ebuild')
-rw-r--r-- | dev-java/tomcat-el-api/tomcat-el-api-10.1.1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-java/tomcat-el-api/tomcat-el-api-10.1.1.ebuild b/dev-java/tomcat-el-api/tomcat-el-api-10.1.1.ebuild new file mode 100644 index 000000000000..c8754c29a16a --- /dev/null +++ b/dev-java/tomcat-el-api/tomcat-el-api-10.1.1.ebuild @@ -0,0 +1,36 @@ +# 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-el-api:10.1.1" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Tomcat's EL API 5.0 implementation" +HOMEPAGE="https://tomcat.apache.org/" +SRC_URI="mirror://apache/tomcat/tomcat-$(ver_cut 1)/v${PV}/src/apache-tomcat-${PV}-src.tar.gz" + +LICENSE="Apache-2.0" +SLOT="5.0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" + +DEPEND=">=virtual/jdk-11:*" +RDEPEND=">=virtual/jre-11:*" + +S="${WORKDIR}/apache-tomcat-${PV}-src" + +JAVA_RESOURCE_DIRS="resources" +JAVA_SRC_DIR="java/jakarta/el" + +src_prepare() { + default + # remove anything related to "el" or "jsp" + find java/jakarta \( -name 'jsp' -o -name 'servlet' \) \ + -exec rm -rf {} + || die "removing jsp failed" + + mkdir resources || "creating \"resources\" failed" + cp -r java/jakarta resources || "cannot copy to \"resources\" dir" + find resources -name '*.java' -exec rm -rf {} + || die "removing *.java files failed" +} |