diff options
Diffstat (limited to 'dev-java/tomcat-jsp-api')
-rw-r--r-- | dev-java/tomcat-jsp-api/Manifest | 1 | ||||
-rw-r--r-- | dev-java/tomcat-jsp-api/tomcat-jsp-api-10.0.27.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-java/tomcat-jsp-api/Manifest b/dev-java/tomcat-jsp-api/Manifest index 7e0e1d249f19..b9b1fe7c5eb2 100644 --- a/dev-java/tomcat-jsp-api/Manifest +++ b/dev-java/tomcat-jsp-api/Manifest @@ -1,2 +1,3 @@ +DIST apache-tomcat-10.0.27-src.tar.gz 6154411 BLAKE2B 87a66acacf5443189620af3c8f306e1ae7d8572f9d6ba657379f8a9691c01530e2f1cb17bb1daef5504459480395f4eabdbb626b6da3a879c5a11910029e002b SHA512 ab7c2ae4134ec9652dc0d19343be7d3bf298b1c7a367b51bcceb88f1aaf70ecb45b3a7b9682e2deac70a1e9b00aca974b77110d3363bc5d1c88dc3ae95015e15 DIST apache-tomcat-10.1.0-src.tar.gz 6060833 BLAKE2B 49f36131c1e809b298ac915e671b9f4df55b55c2ba34d21ee3fdeb8759ddaf53a6780b177e8049446079d91186c52669969f30762ddf776d9f8615e527d5a975 SHA512 08323eec0403473fa97f419d7911980c3dfe7b1607a64741bbe972a737dfa70ea04ea80ca9ab28bf72bdde9d24cf8f7161eeb8b194204c777d1628d00c78611c DIST apache-tomcat-9.0.68-src.tar.gz 6212265 BLAKE2B 21a7772c0473c016486b4b90c005b65613e79739cf68eaa0c0a0e83c30016f49921816893f8babe42b462538c47bc776630812526c330e7c6360f02a719574cd SHA512 63bb2c42f683c4c5e362b19bda046de172382714e80298106c61cc728feea9681b568450f04cb95d6cae08e5a71933c7755b9b81b706c46d63f4683c2a3a96be diff --git a/dev-java/tomcat-jsp-api/tomcat-jsp-api-10.0.27.ebuild b/dev-java/tomcat-jsp-api/tomcat-jsp-api-10.0.27.ebuild new file mode 100644 index 000000000000..2eb2bb85a441 --- /dev/null +++ b/dev-java/tomcat-jsp-api/tomcat-jsp-api-10.0.27.ebuild @@ -0,0 +1,43 @@ +# 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.0.27" + +inherit java-pkg-2 java-pkg-simple + +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" + +LICENSE="Apache-2.0" +SLOT="3.0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" + +CP_DEPEND=" + ~dev-java/tomcat-el-api-${PV}:4.0 + ~dev-java/tomcat-servlet-api-${PV}:5.0 +" + +DEPEND=" + >=virtual/jdk-11:* + ${CP_DEPEND}" + +RDEPEND=" + >=virtual/jre-11:* + ${CP_DEPEND}" + +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" +} |