summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-02-20 11:09:24 +0000
committerPatrice Clement <monsieurp@gentoo.org>2016-02-20 11:11:13 +0000
commit2bc2951b8b17f136d9bee970bf77f1435fb50a46 (patch)
treecec9d8c2cd464268ae7ad289562d7f2bf004f299 /dev-java
parentdev-java/tomcat-jstl-impl: Housekeeping. Add missing die. (diff)
downloadgentoo-2bc2951b8b17f136d9bee970bf77f1435fb50a46.tar.gz
gentoo-2bc2951b8b17f136d9bee970bf77f1435fb50a46.tar.bz2
gentoo-2bc2951b8b17f136d9bee970bf77f1435fb50a46.zip
dev-java/tomcat-jstl-spec: Housekeeping. Add missing die.
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/tomcat-jstl-spec/Manifest2
-rw-r--r--dev-java/tomcat-jstl-spec/tomcat-jstl-spec-1.2.5-r1.ebuild19
2 files changed, 13 insertions, 8 deletions
diff --git a/dev-java/tomcat-jstl-spec/Manifest b/dev-java/tomcat-jstl-spec/Manifest
index 3d40f6296597..4a702077a508 100644
--- a/dev-java/tomcat-jstl-spec/Manifest
+++ b/dev-java/tomcat-jstl-spec/Manifest
@@ -1 +1 @@
-DIST taglibs-standard-1.2.5-source-release.zip 615779 SHA256 09206f14ae3bbfc5442476414feee422d4371a6dbe0e3435eb84462b6f36cd84 SHA512 ad4122cd75c66df901034e333c2b38ac3d2d8f5b0299abd36d0fd1c8f5975eacc71d66a475fc05638dd562ab0670ea532fe6a3ccb5497dfbeb9d859b03b659d0 WHIRLPOOL 2cc5c667fbce1bda85b935b0081c99ce454dad666e5a1609ba0ff7c9363265427df48dbe86e549e608f9d977d726f7d6f3b1dea803ebc6b1c78eb139eb2464ff
+DIST tomcat-jstl-spec-1.2.5.zip 615779 SHA256 09206f14ae3bbfc5442476414feee422d4371a6dbe0e3435eb84462b6f36cd84 SHA512 ad4122cd75c66df901034e333c2b38ac3d2d8f5b0299abd36d0fd1c8f5975eacc71d66a475fc05638dd562ab0670ea532fe6a3ccb5497dfbeb9d859b03b659d0 WHIRLPOOL 2cc5c667fbce1bda85b935b0081c99ce454dad666e5a1609ba0ff7c9363265427df48dbe86e549e608f9d977d726f7d6f3b1dea803ebc6b1c78eb139eb2464ff
diff --git a/dev-java/tomcat-jstl-spec/tomcat-jstl-spec-1.2.5-r1.ebuild b/dev-java/tomcat-jstl-spec/tomcat-jstl-spec-1.2.5-r1.ebuild
index 9479bfb453de..5db72ed5e2ed 100644
--- a/dev-java/tomcat-jstl-spec/tomcat-jstl-spec-1.2.5-r1.ebuild
+++ b/dev-java/tomcat-jstl-spec/tomcat-jstl-spec-1.2.5-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
+
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
@@ -13,7 +14,7 @@ MY_SPEC="${MY_PN}-spec"
DESCRIPTION="JSP Standard Tag Library (JSTL) - Specification jar"
HOMEPAGE="https://tomcat.apache.org/taglibs/standard/"
-SRC_URI="http://apache.mirrors.ovh.net/ftp.apache.org/dist/tomcat/taglibs/${MY_P}/${MY_P}-source-release.zip"
+SRC_URI="http://apache.mirrors.ovh.net/ftp.apache.org/dist/tomcat/taglibs/${MY_P}/${MY_P}-source-release.zip -> ${P}.zip"
LICENSE="Apache-2.0"
SLOT="0"
@@ -21,14 +22,18 @@ KEYWORDS="amd64 x86"
IUSE="test"
CDEPEND="java-virtuals/servlet-api:3.0"
-RDEPEND=">=virtual/jre-1.6
- ${CDEPEND}"
-DEPEND=">=virtual/jdk-1.6
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+
+DEPEND="
+ ${CDEPEND}
test? (
dev-java/ant-junit:0
dev-java/easymock:3.2
)
- ${CDEPEND}"
+ >=virtual/jdk-1.6"
S="${WORKDIR}/${MY_P}"
@@ -38,7 +43,7 @@ EANT_BUILD_TARGET="package"
EANT_BUILD_XML="spec/build.xml"
java_prepare() {
- cp "${FILESDIR}"/${P}-build.xml "${S}"/spec/build.xml
+ cp "${FILESDIR}"/${P}-build.xml "${S}"/spec/build.xml || die
}
EANT_TEST_TARGET="test"