mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 06:37:10 -08:00
dev-java/sun-jms: treeclean
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST jms-1_1-fr-apidocs.zip 361922 BLAKE2B 75342eaeb56ba329948a226f48304e0a520e83f7284d5d8b46b981531b7f8c78283e38b2a488177349aaabb70276fd4ca09bc86993800906aea1469a6549f318 SHA512 ac2c7925b7f5bd3918f0c69a7b18dfa2a15f58243aef7cb429c0571ea218860fc146fd355c905e17310072263f64385b9010eafb1050158f42f498d7f21dfe1d
|
||||
@@ -1,13 +0,0 @@
|
||||
<?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>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
The Java Message Service (JMS) API is a messaging standard that
|
||||
allows application components to create, send, receive, and read
|
||||
messages.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
@@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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="https://www.oracle.com/java/technologies/java-message-service.html"
|
||||
SRC_URI="${At}"
|
||||
|
||||
LICENSE="sun-bcla-jms"
|
||||
SLOT=0
|
||||
KEYWORDS="amd64 arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND=" >=virtual/jdk-1.8:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
RESTRICT="bindist fetch"
|
||||
|
||||
S="${WORKDIR}/${PN//sun-/}${PV}"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo
|
||||
einfo " Due to license restrictions, we cannot fetch the"
|
||||
einfo " distributables automagically."
|
||||
einfo
|
||||
einfo " 1. Visit ${DOWNLOAD_PAGE}"
|
||||
einfo " 2. Accept the License Agreement"
|
||||
einfo " 3. Download ${At}"
|
||||
einfo " 4. Move the file to your DISTDIR directory"
|
||||
einfo
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm -v lib/*.jar || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mkdir build || die
|
||||
cd src/share || die
|
||||
ejavac -nowarn -d "${S}"/build $(find . -name "*.java") || die
|
||||
if use doc ; then
|
||||
mkdir "${S}"/api || die
|
||||
javadoc -d "${S}"/api -quiet javax.jms || die
|
||||
fi
|
||||
|
||||
cd "${S}" || die
|
||||
jar cf jms.jar -C build . || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar jms.jar
|
||||
use doc && java-pkg_dohtml -r api
|
||||
}
|
||||
@@ -392,7 +392,6 @@ net-mail/postorius
|
||||
# Volkmar W. Pogatzki <gentoo@pogatzki.net> (2022-05-04)
|
||||
# Unused java libraries and useless java-virtual. Removal on 2022-06-04
|
||||
dev-java/glassfish-jms-api
|
||||
dev-java/sun-jms
|
||||
|
||||
# Matt Turner <mattst88@gentoo.org> (2022-04-30)
|
||||
# Masked for testing. Apparently causes crashes. Bug #841857.
|
||||
|
||||
Reference in New Issue
Block a user