diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/sun-jai-bin | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/sun-jai-bin')
-rw-r--r-- | dev-java/sun-jai-bin/Manifest | 5 | ||||
-rw-r--r-- | dev-java/sun-jai-bin/metadata.xml | 8 | ||||
-rw-r--r-- | dev-java/sun-jai-bin/sun-jai-bin-1.1.3-r1.ebuild | 52 | ||||
-rw-r--r-- | dev-java/sun-jai-bin/sun-jai-bin-1.1.3.ebuild | 43 |
4 files changed, 108 insertions, 0 deletions
diff --git a/dev-java/sun-jai-bin/Manifest b/dev-java/sun-jai-bin/Manifest new file mode 100644 index 000000000000..7c282a28bd9a --- /dev/null +++ b/dev-java/sun-jai-bin/Manifest @@ -0,0 +1,5 @@ +DIST jai-1_1_3-lib-linux-amd64.tar.gz 3510451 BLAKE2B c16dc0e04127bf57df6390dc9d99a1e44040c0fe81ccacc88698493d3fd3483aae12d664a89bc13939655d21ce2d92b64537b073c0d1063bbf91e18129da5eb4 SHA512 5089b696baabdea9622683aa7a3569daf724fd7fa8a4f1c95073b9e96ff5c37fc55a9e3a6fe499abafe61f5f4a109770bd27172ae6711ab7b4da3de55d8b0f56 +DIST jai-1_1_3-lib-linux-i586.tar.gz 3501711 BLAKE2B eec4976124a9701367e7b61c652ed619df69fa12eb02c5288d9d1ba4845ca7e2315514fba1f75f15c8bbb90cba981972961e8d1e843a8a8ac2b000e5e4917975 SHA512 bd142eea557b68d10d26a18b6b0d04e5cb42212e98268035b1b3615d6489bbc4fa07ad141fd04fc5ae3c74f1703c9ade77130cbf8a61603b4b271e3a0e06e860 +EBUILD sun-jai-bin-1.1.3-r1.ebuild 1099 BLAKE2B e676b1f401b9d4c16a604fd56db30d94cb30d1511e8ac1d57f68429828523809e8e93d24b9e78469133c02c07886ac57a6a8e89fbf304891a7a44acca0c33c33 SHA512 ece3afc3dd782f133a85bb5b3578034878464290f08b0c6361cfe62ba53b6a3c78cf1e77e536e4c34e6ace9620c257441c5ca5fcef6a82662bc5ca8378ff9938 +EBUILD sun-jai-bin-1.1.3.ebuild 968 BLAKE2B 932fd60c60f522e0e0f1942ee5dbc759ec26b05f66c8486c9410898d2f46fcd14d34080f5bc6de27153a61c682a8aadf6395c38254801757544bcad8f59f54df SHA512 863bfcb88aa6dc625d44d79b12116c584b660b852c36095c10b27aff814ef6a28dfc175f8aa5c7bbf43147056ae275f4eb7a17e403b51898b03221a1a1f85f28 +MISC metadata.xml 232 BLAKE2B 513679b02247d8e4cb4c874abd785119d9ca62ad24c44969d52a42c3765d0ebf689024512a2c4c48e69688a4ce02a74ae05708b050a720bc73d8d2bf2ceff58d SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 diff --git a/dev-java/sun-jai-bin/metadata.xml b/dev-java/sun-jai-bin/metadata.xml new file mode 100644 index 000000000000..2444066aa02b --- /dev/null +++ b/dev-java/sun-jai-bin/metadata.xml @@ -0,0 +1,8 @@ +<?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> +</pkgmetadata> diff --git a/dev-java/sun-jai-bin/sun-jai-bin-1.1.3-r1.ebuild b/dev-java/sun-jai-bin/sun-jai-bin-1.1.3-r1.ebuild new file mode 100644 index 000000000000..50218694eb44 --- /dev/null +++ b/dev-java/sun-jai-bin/sun-jai-bin-1.1.3-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +inherit java-pkg-2 + +MY_PV=${PV//./_} +DESCRIPTION="JAI is a class library for managing images" +HOMEPAGE="https://jai.dev.java.net/" + +BASE=http://download.java.net/media/jai/builds/release/${MY_PV} +MY_P="jai-${MY_PV}" +SRC_URI=" + !amd64? ( ${BASE}/${MY_P}-lib-linux-i586.tar.gz ) + amd64? ( ${BASE}/${MY_P}-lib-linux-amd64.tar.gz )" + +LICENSE="sun-bcla-jai" +SLOT="0" +KEYWORDS="amd64" +DEPEND="" +RDEPEND=">=virtual/jre-1.3" +IUSE="" +RESTRICT="mirror" +QA_PREBUILT="*" + +S=${WORKDIR}/${MY_P}/ + +src_unpack() { + unpack ${A} + rm "${S}/LICENSE-jai.txt" +} + +src_compile() { :; } + +src_install() { + dodoc *.txt || die + + cd lib + java-pkg_dojar *.jar + use x86 && java-pkg_doso *.so + use amd64 && java-pkg_doso *.so +} + +pkg_postinst() { + elog "This ebuild now installs into /opt/${PN} and /usr/share/${PN}" + elog 'To use you need to pass the following to java' + if use x86 || use amd64; then + elog '-Djava.library.path=$(java-config -i sun-jai-bin)' + fi + elog '-classpath $(java-config -p sun-jai-bin)' +} diff --git a/dev-java/sun-jai-bin/sun-jai-bin-1.1.3.ebuild b/dev-java/sun-jai-bin/sun-jai-bin-1.1.3.ebuild new file mode 100644 index 000000000000..20d0c2afe551 --- /dev/null +++ b/dev-java/sun-jai-bin/sun-jai-bin-1.1.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +inherit java-pkg-2 + +MY_PV=${PV//./_} +DESCRIPTION="JAI is a class library for managing images" +HOMEPAGE="https://jai.dev.java.net/" +SRC_URI="http://download.java.net/media/jai/builds/release/${MY_PV}/jai-${MY_PV}-lib-linux-i586.tar.gz" +LICENSE="sun-bcla-jai" +SLOT="0" +KEYWORDS="amd64 ppc64 x86" +DEPEND="app-arch/unzip" +RDEPEND=">=virtual/jre-1.3" +IUSE="" +RESTRICT="mirror" +QA_PREBUILT="*" + +S=${WORKDIR}/jai-${MY_PV}/ + +src_unpack() { + unpack ${A} + rm "${S}"/LICENSE-jai.txt +} + +src_compile() { :; } + +src_install() { + dodoc *.txt + + cd lib + java-pkg_dojar *.jar + use x86 && java-pkg_doso *.so +} + +pkg_postinst() { + elog "This ebuild now installs into /opt/${PN} and /usr/share/${PN}" + elog 'To use you need to pass the following to java' + use x86 && elog '-Djava.library.path=$(java-config -i sun-jai-bin)' + elog '-classpath $(java-config -p sun-jai-bin)' +} |