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/jzlib |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/jzlib')
-rw-r--r-- | dev-java/jzlib/Manifest | 9 | ||||
-rw-r--r-- | dev-java/jzlib/jzlib-1.0.7-r2.ebuild | 34 | ||||
-rw-r--r-- | dev-java/jzlib/jzlib-1.1.1.ebuild | 50 | ||||
-rw-r--r-- | dev-java/jzlib/jzlib-1.1.3.ebuild | 48 | ||||
-rw-r--r-- | dev-java/jzlib/metadata.xml | 11 |
5 files changed, 152 insertions, 0 deletions
diff --git a/dev-java/jzlib/Manifest b/dev-java/jzlib/Manifest new file mode 100644 index 000000000000..5cb8ef35d868 --- /dev/null +++ b/dev-java/jzlib/Manifest @@ -0,0 +1,9 @@ +DIST jzlib-1.0.7.tar.gz 50303 SHA256 20923a3f771a14c58c8cddfff2b589d568aff09f8a931919dc63ddaabb32407a SHA512 8cbc492857d432f79da08a9f6dcebc401e25bd888adada8d94caee15d67d0b89b4f66876a5b2275170157977527e1505386dd5a1575dbe658de233d4389941ea WHIRLPOOL 343a0158bdcafdf2869ba2c5582a45e4188486eaee54682726250449a6768daa4511f6f4b7d9fa8154b33d607693fede5f56accf35f249e78cd4a4dacb587c21 +DIST jzlib-1.1.1.zip 105191 SHA256 c3f4abc468febeb01e38c4916249d5c241488a25eed6f762bf42f66315979f58 SHA512 de76c008e640f17788c69ed2aae72cddbd0a72d039ce61169ca7af640571952080c48ec588b0fdb497a795d3f7644170ec541bdbe834b6b638e6260ffb57dc07 WHIRLPOOL 02aced9b161bfafc2d5ca75d76b49ed39cf32871a3f3460bb72011b1b33c0e785f87488ea318da37832af902355b7d587bda69bee052e5b17de466c1495f8dce +DIST jzlib-1.1.3.zip 176747 SHA256 a93126d4a8e5bd431b37f0f662fb652f628a8a57111a67e7c777142a5bdb453a SHA512 844a157053a8d6c9b722e9c27e0f1520f3061d7e323f0e50d276c301477128f46dc7b1250c2ca337225690bc641b6f663ee76be8831b6e0c288438e64aa935b0 WHIRLPOOL 81cb56e0edd85e73bf18cceb56bcb655cf82b5c2b5d140ce5c9a3336664783e2fcb0a5b56b165602becfc788f2de934e6c5ac7fbe4386ca723c6ec2dae9ea3b6 +EBUILD jzlib-1.0.7-r2.ebuild 772 SHA256 9d07723a386f0e82807adb02a08085d3ef60316d4a285a94fea472cc6ecdbb02 SHA512 b22a8ea4cd20f4eed7e35c63db64f99af105ce84b854f0bffce9eeaa3ed9f7a02771b9e5159b0aaa4ad7617f278926b4002b421f36ddf1fe3533ecb86a9c484b WHIRLPOOL b8dcf5a022ca53da8218109b3cde827222634cf2d43c8b7f863b3c4b8e713f660e57390567603f1d61a0345f61c6030b475ffa1b4a1e1adc949df862750f2ff0 +EBUILD jzlib-1.1.1.ebuild 1370 SHA256 046b81aa13345e8f42e49eb81afd5f307e27dd20a1008c593c637f4d0f7d3b72 SHA512 46e2e1e47f51f44765ac061d1d07495c85441b12b7f634d984fbbc53947fbe99b4ec0893eaa1c69018ebacf70a13b4b1c22301d7a7260aebc3fa5cbbcc148a8b WHIRLPOOL 000e8e3295f8355385e66933cd3a8426ea7d472667767f14ff41eada7f48bf251a4e60cecc7546f8307fb6c053dab4650b6f7fb3ecbed35286a351a9e497c9c9 +EBUILD jzlib-1.1.3.ebuild 1323 SHA256 7495a31307e6ad9ce98a5fee10c6e47efee882f4db551e9e8a86fec0fe230bcc SHA512 e9c88d5d91caa7cbea56cef689b2d276837c0ddf7e4cac638cf468fbede03ad72c2ce6ee4d640eb8fce20fa907f4bfaf7fec25dfbeabb13232de677e70aaa86a WHIRLPOOL b8efb92a3f0466bf8ad07ac32e1141ea73d3fc87204dce05ac20d43656641960c84e0d3fe79b010e74d43c17e30ea62822f2da7de52cb36c3ef9774f98c8f6a6 +MISC ChangeLog 3426 SHA256 4e71bf4d65edc3b5aba42e19bc31993a0bebbf30502e076253cb704169d2a81d SHA512 388ce7d945445b65816581d4901d296a5d138c19cef1c7d9de10b9bd0df7a0fdc87d462287442d234cfa169e2d132ae19ccf183c1ea335cbefcb95b224a35d87 WHIRLPOOL 4162b5d07d3a5c56f6f0afd12f491eb977c7181100d0b13310e94569588c744da87e57b0300cdc199c6590d9c2a62c81510af3572cd6a81291a6e7c0a4799959 +MISC ChangeLog-2015 5431 SHA256 fc082bb78fd9c848c87bc7cef2509c1e46e8b67172b2dd8fc204e15426820a26 SHA512 4274e0c01df319ffada3d0f4acb93b48911bfd7e0eda1396584e65be5fc94e29ec74a4b0a85c809dca3f031b470e6f1bb6d232d4e7e2a5a61a951fd2600044f5 WHIRLPOOL db716d494e30d537c333bc7d9b0128c8580a5beb4ecebb15bbf4f5918f9b5627651e77d959d649388a7a33c9115341a4bef0b2cdaf2e7fcd12fd40f850f485e3 +MISC metadata.xml 321 SHA256 36d81de4252acc9d1dea65a21bbfe7ea89a5a37a62abdd2fac52c07985e75c3a SHA512 0602c7d4ec61795409acf409461bb44105b58d340a3740ace885d3dba9bee4ff146ee1a1ad6a8dd995d51ea406962fe6e5654b1a55a94c05c14cea3482a6ab8e WHIRLPOOL ae9377ad60789721e4d2716cc71b6050d8c99efc3959aaaae8ad252f4f74a6aa1826d6d2b14a5fa2b91319e7c097873d28d7653b7e58d1a5fdec076b2d16a157 diff --git a/dev-java/jzlib/jzlib-1.0.7-r2.ebuild b/dev-java/jzlib/jzlib-1.0.7-r2.ebuild new file mode 100644 index 000000000000..bcbd7be61bed --- /dev/null +++ b/dev-java/jzlib/jzlib-1.0.7-r2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +JAVA_PKG_IUSE="doc source examples" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="JZlib is a re-implementation of zlib in pure Java" +HOMEPAGE="http://www.jcraft.com/jzlib/" +SRC_URI="http://www.jcraft.com/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND=" + >=virtual/jre-1.6" + +DEPEND=" + source? ( app-arch/zip ) + >=virtual/jdk-1.6" + +S="${WORKDIR}/${P}" + +JAVA_SRC_DIR="com" + +src_install() { + java-pkg-simple_src_install + dodoc README ChangeLog + use examples && java-pkg_doexamples example +} diff --git a/dev-java/jzlib/jzlib-1.1.1.ebuild b/dev-java/jzlib/jzlib-1.1.1.ebuild new file mode 100644 index 000000000000..344542899aa8 --- /dev/null +++ b/dev-java/jzlib/jzlib-1.1.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" +JAVA_PKG_IUSE="doc examples source test" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="JZlib is a re-implementation of zlib in pure Java" +HOMEPAGE="http://www.jcraft.com/jzlib/" +SRC_URI="http://www.jcraft.com/${PN}/${P}.zip" + +LICENSE="BSD" +SLOT="1.1" +KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RDEPEND=" + >=virtual/jre-1.5" +DEPEND=" + >=virtual/jdk-1.5" +# test? ( +# dev-lang/scala +# dev-java/junit:4 )" +# Restrict test due to missing keywords for scala +RESTRICT="test" + +S="${WORKDIR}/${P}" +JAVA_SRC_DIR="src/main/java" + +java_prepare() { + # Maven not yet supported, use java-pkg-simple instead. + rm -v pom.xml || die +} + +src_test() { + local CP TESTS + CP="${PN}.jar:$(java-pkg_getjars --with-dependencies scala,junit-4)" || die + TESTS=$(find src/test/scala -name '*Test.scala' -printf com.jcraft.jzlib. -exec basename {} .scala \;) || die + + mkdir -p target/test || die + find src/test/scala -name '*.scala' -exec scalac -classpath "${CP}" -d target/test {} + || die + ejunit4 -classpath "target/test:${CP}" ${TESTS} +} + +src_install() { + java-pkg-simple_src_install + dodoc README ChangeLog + use examples && java-pkg_doexamples example +} diff --git a/dev-java/jzlib/jzlib-1.1.3.ebuild b/dev-java/jzlib/jzlib-1.1.3.ebuild new file mode 100644 index 000000000000..3fcc2b5767d5 --- /dev/null +++ b/dev-java/jzlib/jzlib-1.1.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" +JAVA_PKG_IUSE="examples source test" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="JZlib is a re-implementation of zlib in pure Java" +HOMEPAGE="http://www.jcraft.com/jzlib/" +SRC_URI="https://github.com/ymnk/${PN}/archive/${PV}.zip -> ${P}.zip" + +LICENSE="BSD" +SLOT="1.1.3" +KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND=" + >=virtual/jre-1.5" +DEPEND=" + >=virtual/jdk-1.5" +# test? ( +# dev-lang/scala +# dev-java/junit:4 )" +# Restrict test due to missing keywords for scala +RESTRICT="test" + +S="${WORKDIR}/${P}" +JAVA_SRC_DIR="src/main/java" + +java_prepare() { + rm pom.xml || die +} + +src_test() { + local CP TESTS + CP="${PN}.jar:$(java-pkg_getjars --with-dependencies scala,junit-4)" || die + TESTS=$(find src/test/scala -name '*Test.scala' -printf com.jcraft.jzlib. -exec basename {} .scala \;) || die + + mkdir -p target/test || die + find src/test/scala -name '*.scala' -exec scalac -classpath "${CP}" -d target/test {} + || die + ejunit4 -classpath "target/test:${CP}" ${TESTS} +} + +src_install() { + java-pkg-simple_src_install + dodoc README ChangeLog + use examples && java-pkg_doexamples example +} diff --git a/dev-java/jzlib/metadata.xml b/dev-java/jzlib/metadata.xml new file mode 100644 index 000000000000..19b210e94d14 --- /dev/null +++ b/dev-java/jzlib/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="github">ymnk/jzlib</remote-id> + </upstream> +</pkgmetadata> |