summaryrefslogtreecommitdiff
path: root/dev-java/sun-jms
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-11-10 13:21:36 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-11-10 13:21:36 +0000
commit77398e424e45d9e98c1cef3c43bdadb9d56e81ef (patch)
tree5aeffd3fc7b92fc615bd2c222fa8831aeda1925b /dev-java/sun-jms
parentbd4aeefe33e63f613512604e47bfca7b2187697d (diff)
gentoo resync : 10.11.2019
Diffstat (limited to 'dev-java/sun-jms')
-rw-r--r--dev-java/sun-jms/Manifest2
-rw-r--r--dev-java/sun-jms/sun-jms-1.1-r2.ebuild30
2 files changed, 18 insertions, 14 deletions
diff --git a/dev-java/sun-jms/Manifest b/dev-java/sun-jms/Manifest
index b5decd477f05..f2b8d577f6f5 100644
--- a/dev-java/sun-jms/Manifest
+++ b/dev-java/sun-jms/Manifest
@@ -1,3 +1,3 @@
DIST jms-1_1-fr-apidocs.zip 361922 BLAKE2B 75342eaeb56ba329948a226f48304e0a520e83f7284d5d8b46b981531b7f8c78283e38b2a488177349aaabb70276fd4ca09bc86993800906aea1469a6549f318 SHA512 ac2c7925b7f5bd3918f0c69a7b18dfa2a15f58243aef7cb429c0571ea218860fc146fd355c905e17310072263f64385b9010eafb1050158f42f498d7f21dfe1d
-EBUILD sun-jms-1.1-r2.ebuild 1340 BLAKE2B 9810cd67decb03abc317a1663ef9a58a1f73a24553ef70d3b86859275e2947469f89e4aa3b4f402624ede326542ee87aff2ab2c0d06b1fac46993bc796c9e2ab SHA512 1b153505d533077344ca88989348f4ddf3257b23ed917379d7d9be68cde6dadd48e876cab14beff4b827d937e77c82b5f9316799da17ea89595ea13e18cf2b17
+EBUILD sun-jms-1.1-r2.ebuild 1341 BLAKE2B c0cdbc4246630d5023af3e90509b27da205013fbb3fb8c81de696d3467dc5d554ef96347e7915632f64b953f0e04c4fdd1d4d630f8c7ce2da71caa8b25afb597 SHA512 6990f55025910b65215a2bd31f5e8bac42c0aeb9c3363d97b03646cb9f97fb8f0413ca8cbe750e2ac66624294e7c2fcfd27c6d15fd6b931428efcf28a0b1f199
MISC metadata.xml 420 BLAKE2B d00cdddbce707b1fbe67e796c7f62bc4f942c6f4e3c5af1aa3a643846dabded18b41b1e35d4e93cca068d2d0656fd5a88d65abfdc303cf5b6293d8fcd39be61d SHA512 60f2556340ffa7951c69e1bef1a5eda1905a02f3a1e72199c7af02225844c805fa2154ce6629b6d8bafcece22fc3d1c75349021af6932dff3ffaf952fdcb818c
diff --git a/dev-java/sun-jms/sun-jms-1.1-r2.ebuild b/dev-java/sun-jms/sun-jms-1.1-r2.ebuild
index 3a8512d4b2dc..8c1ffebbb3c8 100644
--- a/dev-java/sun-jms/sun-jms-1.1-r2.ebuild
+++ b/dev-java/sun-jms/sun-jms-1.1-r2.ebuild
@@ -1,23 +1,27 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=0
+EAPI=7
inherit java-pkg-2
DOWNLOAD_PAGE="http://download.oracle.com/otndocs/jcp/7542-jms-1.1-fr-doc-oth-JSpec/"
At="jms-${PV/./_}-fr-apidocs.zip"
+
DESCRIPTION="The Java Message Service (JMS) API"
HOMEPAGE="http://java.sun.com/products/jms/"
SRC_URI="${At}"
+
LICENSE="sun-bcla-jms"
SLOT=0
KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="doc"
+
RDEPEND=">=virtual/jre-1.3"
DEPEND="app-arch/unzip
>=virtual/jdk-1.3"
-RESTRICT="fetch"
+
+RESTRICT="bindist fetch"
S="${WORKDIR}/${PN//sun-/}${PV}"
@@ -33,22 +37,22 @@ pkg_nofetch() {
einfo
}
-src_unpack() {
- unpack ${A}
- rm -v "${S}"/lib/*.jar
+src_prepare() {
+ default
+ rm -v lib/*.jar || die
}
src_compile() {
- mkdir build
- cd src/share
- ejavac -nowarn -d "${S}"/build $(find . -name "*.java") || die "failed too build"
+ mkdir build || die
+ cd src/share || die
+ ejavac -nowarn -d "${S}"/build $(find . -name "*.java") || die
if use doc ; then
- mkdir "${S}"/api
- javadoc -d "${S}"/api -quiet javax.jms
+ mkdir "${S}"/api || die
+ javadoc -d "${S}"/api -quiet javax.jms || die
fi
- cd "${S}"
- jar cf jms.jar -C build . || die "failed too create jar"
+ cd "${S}" || die
+ jar cf jms.jar -C build . || die
}
src_install() {