mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-25 11:57:36 -08:00
dev-java/tomcat-jsp-api: add 9.0.68
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/27504 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
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
|
||||
|
||||
@@ -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:9.0.68"
|
||||
|
||||
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="2.3"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
|
||||
CP_DEPEND="
|
||||
~dev-java/tomcat-el-api-${PV}:3.0
|
||||
~dev-java/tomcat-servlet-api-${PV}:4.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/javax/servlet/jsp"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
mkdir -p resources/javax/servlet || "creating \"resources\" failed"
|
||||
cp -r {java,resources}/javax/servlet/jsp || "cannot copy to \"resources\" dir"
|
||||
find resources \( -name '*.java' -o -name 'tagext' \) \
|
||||
-exec rm -rf {} + || die "removing *.java files failed"
|
||||
}
|
||||
Reference in New Issue
Block a user