diff options
Diffstat (limited to 'dev-java/jstl')
-rw-r--r-- | dev-java/jstl/Manifest | 3 | ||||
-rw-r--r-- | dev-java/jstl/jstl-1.2.7.ebuild | 58 | ||||
-rw-r--r-- | dev-java/jstl/metadata.xml | 10 |
3 files changed, 71 insertions, 0 deletions
diff --git a/dev-java/jstl/Manifest b/dev-java/jstl/Manifest new file mode 100644 index 000000000000..846e35b1680f --- /dev/null +++ b/dev-java/jstl/Manifest @@ -0,0 +1,3 @@ +DIST jstl-1.2.7.tar.gz 291252 BLAKE2B 37383f519615f41e4247b1e2207cf1cc57df3a3d01f939bb41cc400dbdb49b331fc0bc3e5ee26c3d9d1e361bd4ec11efd5b6e6a9cc6cafee2b196c1d9491d07f SHA512 2b52869fe5f6d586b8505a2a417790ffad7112db17af667cd52fb567fb6c7ee4a3b3906a072d0d4e7ef463b56a1e5cf9a955b9fbaab97c91a1a286e05add23c3 +EBUILD jstl-1.2.7.ebuild 1290 BLAKE2B 1ea4e49ba58f661b35ce5a7cf367ffba2732197d6de6f811523424c33685596ccbb29e64508fa113cc12f05f45dfecc46e53a3ac001a1fe16f15e2cf82991546 SHA512 ec954a22f520df17d871404111454642d574da5a0c00e387ca66d758812b46c593a47f8752ce932a92b4678af525b53004c9f24482cd2ad4f7dc8112a5ab8e4c +MISC metadata.xml 296 BLAKE2B c4f4176e9ee4c9e6c8e09729b24e84d4319a71d7059b6939c6ad8f4bac9fa0e7ede0b4e73e31068a5c3fea631beba2e6c362a6bfa4f28a6289e14a4197797cc1 SHA512 f07cf674ac741524af3baed5535a3e1dc7f8668a42783fb81ec22f823d91e58ae944992e9d65603a967bda36afcebe1bf91a6a97878cb2c82b2f1b4087c598ba diff --git a/dev-java/jstl/jstl-1.2.7.ebuild b/dev-java/jstl/jstl-1.2.7.ebuild new file mode 100644 index 000000000000..caa221ede616 --- /dev/null +++ b/dev-java/jstl/jstl-1.2.7.ebuild @@ -0,0 +1,58 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="org.glassfish.web:javax.servlet.jsp.jstl:1.2.7" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Jakarta Standard Tag Library API" +HOMEPAGE="https://projects.eclipse.org/projects/ee4j.jstl" +SRC_URI="https://github.com/jakartaee/tags/archive/${PV}-RELEASE.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/tags-${PV}-RELEASE" + +LICENSE="EPL-2.0 GPL-2-with-classpath-exception" +SLOT="0" +KEYWORDS="~amd64" + +CP_DEPEND=" + dev-java/javax-el-api:2.2 + dev-java/javax-jsp-api:2.2 + dev-java/javax-servlet-api:2.5 + dev-java/jstl-api:0 + dev-java/xalan:0 +" + +RDEPEND=" + ${CP_DEPEND} + >=virtual/jre-1.8:* +" + +DEPEND=" + ${CP_DEPEND} + >=virtual/jdk-1.8:* +" + +DOCS=( + CONTRIBUTING.md + NOTICE.md + README.md +) + +JAVA_JAR_FILENAME="jstl-impl.jar" +JAVA_RESOURCE_DIRS="impl/src/main/resources" +JAVA_SRC_DIR="impl/src/main/java" + +src_prepare() { + java-pkg-2_src_prepare + # java-pkg-simple expects resource files in JAVA_RESOURCE_DIRS + cp -r impl/src/main/java/* impl/src/main/resources || die + find impl/src/main/resources -type f \ + \( -name '*.java' \ + -o -name '*.txt' \ + -o -name '*Parser.jj' \ + -o -name 'spath.tld' \ + \) -exec rm -rf {} + || die "deleting classes failed" +} diff --git a/dev-java/jstl/metadata.xml b/dev-java/jstl/metadata.xml new file mode 100644 index 000000000000..6f95d33b7ee3 --- /dev/null +++ b/dev-java/jstl/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">jakartaee/tags</remote-id> + </upstream> +</pkgmetadata> |