Сравнение javax-servlet-api-2.2 с javax-servlet-api-2.5
/usr/portage/dev-java/javax-servlet-api/javax-servlet-api-2.5.ebuild 2023-10-09 14:52:29.428368349 +0300 | ||
---|---|---|
4 | 4 |
EAPI=8 |
5 | 5 | |
6 | 6 |
JAVA_PKG_IUSE="doc source" |
7 |
MAVEN_ID="javax.servlet:servlet-api:${PV}" |
|
7 |
MAVEN_ID="javax.servlet:servlet-api:2.5" |
|
8 | 8 | |
9 | 9 |
inherit java-pkg-2 java-pkg-simple |
10 | 10 | |
... | ... | |
13 | 13 |
SRC_URI="https://repo1.maven.org/maven2/javax/servlet/servlet-api/${PV}/servlet-api-${PV}-sources.jar" |
14 | 14 | |
15 | 15 |
LICENSE="CDDL GPL-2" |
16 |
SLOT="2.2" |
|
17 |
KEYWORDS="amd64 ~arm ~arm64 ppc64 x86" |
|
16 |
SLOT="2.5" |
|
17 |
KEYWORDS="amd64 ~arm arm64 ppc64 x86" |
|
18 | 18 | |
19 | 19 |
RDEPEND=">=virtual/jre-1.8:*" |
20 | 20 |
DEPEND=">=virtual/jdk-1.8:*" |
... | ... | |
23 | 23 | |
24 | 24 |
src_prepare() { |
25 | 25 |
java-pkg-2_src_prepare |
26 |
mkdir -p "${JAVA_RESOURCE_DIRS}/META-INF" || die |
|
27 |
echo "Implementation-Version: 2.2" > "${JAVA_RESOURCE_DIRS}/META-INF/MANIFEST.MF" |
|
28 |
echo "Specification-Version: 2.2" >> "${JAVA_RESOURCE_DIRS}/META-INF/MANIFEST.MF" |
|
26 |
mkdir -p "${JAVA_RESOURCE_DIRS}/javax/servlet/resources" || die |
|
27 |
mv dtd/* "${JAVA_RESOURCE_DIRS}/javax/servlet/resources" || die |
|
29 | 28 |
find . -type f -name '*.properties' | xargs cp --parent -t resources || die |
30 | 29 |
} |