diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/sun-jimi |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/sun-jimi')
-rw-r--r-- | dev-java/sun-jimi/Manifest | 5 | ||||
-rw-r--r-- | dev-java/sun-jimi/metadata.xml | 19 | ||||
-rw-r--r-- | dev-java/sun-jimi/sun-jimi-1.0-r3.ebuild | 48 |
3 files changed, 72 insertions, 0 deletions
diff --git a/dev-java/sun-jimi/Manifest b/dev-java/sun-jimi/Manifest new file mode 100644 index 000000000000..1259bb344771 --- /dev/null +++ b/dev-java/sun-jimi/Manifest @@ -0,0 +1,5 @@ +DIST jimi1_0.zip 3880977 SHA256 06c193de5d78f2597191963c34cf306a960f7144759337264c1c60a3b3b8a0c4 SHA512 28ae3b3044910fca80dbdf23fee5f0d050df64ef48a09c41a836f3ff78365258c747f69a958579abda68d6d6f1c6b6a3ea5e960d36f2199afdb06258a25173d5 WHIRLPOOL c9ff66c4a15eb39c30e70c47bd7c8694024e34ebba09a7a440b927f5e3da0498f4ae2b8c6ddd96e3fe18933b93cacbb9c01f63b672caef45b601e4cf0bcec4fa +EBUILD sun-jimi-1.0-r3.ebuild 1094 SHA256 ccef7fda0c57d32f020e5c1e950f05dabb4724e62b8c2f7f4cde0fb37a5c50e6 SHA512 e67ccf0d46c4043f5183875630495d0113343fdb3b0dc9d8505d57d59ec105c0462f14b721ac7bf957e9bc177198ec1e5f6478c0d11f619c0ca9531cc2f2bebc WHIRLPOOL d69c942eeec1cdfaecafd883db82da959dc829da9de9cb46d9c4e5b96c91a37686b55dc987d36ee834ed964c6a07916fda07d0f621afb7fafddcc242145e4c85 +MISC ChangeLog 2572 SHA256 65e94b8fe9c6218d7fe6adc8b00d545c24fa173b155d68a233b1a1ed313579ed SHA512 8c6c8519bf5b8e22b3f4a517847a4962706c87ae32892f25dec6aad1fe0c79bc9c74fd4927bd2e61033e5c364c6b3077536c51aac02a746e7457db741ba9c30f WHIRLPOOL 9283b4d9222b52b0d5a773d3d0aa29707e193b5f2743393907ca5063f58a6d6d90ddd6444efd5d7ba50a88e3a9c4de3b493ecaa7117c49ec7576ca57b77f5086 +MISC ChangeLog-2015 3522 SHA256 9753fbf7bc8f71467c08451ce5c7482b046d9f62e5cd205f1cfa25f5e0637b22 SHA512 587cdd124a8d60994fef581f3457bef8c50daf3530cfa179c9fe9ce929876166af6ae9c93230e249a71676f9cc62ada25b735e3154ee7292411c0964e97e7db1 WHIRLPOOL 19e0a3188779a3a6b30a6ae00e11b17761232b31be92a5e1c02d06943e2eb2b8a57be76b503c0eefa612032e94a5dab44b409091ef7390ec1129e49c749ed179 +MISC metadata.xml 603 SHA256 b5f976c0f15182bbe2052882b8ed251609487870d41924808a0a5632752de866 SHA512 9bb4826797c652c42446acc1c40de86e79b4a96fab91b36835439794f7f1df27fb1d03d73bf6e9e6e8762cc998a3026ab04309d176e9968bc2f19423c147ce7f WHIRLPOOL 258a3a5ca60bf1f1575e53a19722a04f8c990492af3dc80e364e3a587b343e94ba5d62714c3ecb86941e842ba4e7677ff7ffbd3e4072dea81b84e4e25154f078 diff --git a/dev-java/sun-jimi/metadata.xml b/dev-java/sun-jimi/metadata.xml new file mode 100644 index 000000000000..74ea6711cb29 --- /dev/null +++ b/dev-java/sun-jimi/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + +<maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> +</maintainer> + +<longdescription> + +Jimi is a class library for managing images. Its primary function is image I/O. +Jimi was formerly a product of Activated Intelligence. Sun is making it +available for developers who have code with dependencies on Jimi or for those +who need image I/O functionality in applications running under 1.1.x versions of +the Java Platform. + +</longdescription> +</pkgmetadata> diff --git a/dev-java/sun-jimi/sun-jimi-1.0-r3.ebuild b/dev-java/sun-jimi/sun-jimi-1.0-r3.ebuild new file mode 100644 index 000000000000..ba659b246e78 --- /dev/null +++ b/dev-java/sun-jimi/sun-jimi-1.0-r3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +JAVA_PKG_IUSE="doc" + +inherit java-pkg-2 + +DESCRIPTION="Jimi is a class library for managing images" +HOMEPAGE="http://www.oracle.com/technetwork/java/index.html" +SRC_URI="jimi1_0.zip" + +LICENSE="Oracle-BCLA-JavaSE" +SLOT="0" +KEYWORDS="amd64 ppc64 x86" +IUSE="" + +RDEPEND=">=virtual/jre-1.3" +DEPEND=">=virtual/jdk-1.3 + app-arch/unzip" + +RESTRICT="fetch" + +S=${WORKDIR}/Jimi + +pkg_nofetch() { + local download_url="http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-client-419417.html#7259-jimi_sdk-1.0-oth-JPR" + einfo "Please download ${A} from the following url and place it in ${DISTDIR}" + einfo "${download_url} " +} + +java_prepare() { + rm -r src/classes/* || die +} + +src_compile() { + cd "${S}/src" + ejavac -classpath . -d classes $(cat main_classes.txt) || die "failes to compile" + jar -cf ${PN}.jar -C classes . || die "failed to create jar" +} + +src_install() { + java-pkg_dojar src/${PN}.jar + + dodoc Readme + use doc && java-pkg_dohtml -r docs/* +} |