dev-java/ezmorph: new ebuild
authorAustin English <wizardedit@gentoo.org>
Tue, 28 Jun 2016 19:16:42 +0000 (14:16 -0500)
committerAustin English <wizardedit@gentoo.org>
Tue, 28 Jun 2016 19:19:32 +0000 (14:19 -0500)
Package-Manager: portage-2.2.28

dev-java/ezmorph/Manifest [new file with mode: 0644]
dev-java/ezmorph/ezmorph-1.0.6.ebuild [new file with mode: 0644]
dev-java/ezmorph/metadata.xml [new file with mode: 0644]

diff --git a/dev-java/ezmorph/Manifest b/dev-java/ezmorph/Manifest
new file mode 100644 (file)
index 0000000..0ea9c16
--- /dev/null
@@ -0,0 +1 @@
+DIST ezmorph-1.0.6-sources.jar 68198 SHA256 81660eed757f05a9d907e4247ce3fca4da37a9661ff0feb3344b838e3aa03843 SHA512 a8f88ff38e2d2815ee64436af87c4dc5a9858edec729c8db3ebda6d64d2fe2644b5e56deafedcf242caffa523643ccb978cd775c85793df6e2e5487c6d878cea WHIRLPOOL 47e5c72a0c4dd9dda634830cfa7bf64ffc8bb64bb0199f3ce42d75e1addc6787173583520c1fea755ad721e758dd24743095ce61b023589ee8e55f5e7518f371
diff --git a/dev-java/ezmorph/ezmorph-1.0.6.ebuild b/dev-java/ezmorph/ezmorph-1.0.6.ebuild
new file mode 100644 (file)
index 0000000..4c6abb0
--- /dev/null
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="A simple Java library for transforming an Object to another Object"
+HOMEPAGE="http://ezmorph.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-sources.jar"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+COMMON_DEP="dev-java/commons-lang:2.1
+       dev-java/commons-beanutils:1.7
+       dev-java/commons-logging:0"
+RDEPEND=">=virtual/jre-1.4
+       ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.4
+       app-arch/unzip
+       ${COMMON_DEP}"
+
+JAVA_GENTOO_CLASSPATH="
+       commons-lang-2.1
+       commons-beanutils-1.7
+       commons-logging"
+
+RESTRICT=test #564158
+
+java_prepare() {
+       # Don't build tests all the time
+       if ! use test ; then
+               rm -r net/sf/ezmorph/test || die
+       fi
+}
+
+src_install() {
+       java-pkg_dojar ${PN}.jar
+       use doc && java-pkg_dojavadoc target/api
+       use source && java-pkg_dosrc net
+}
diff --git a/dev-java/ezmorph/metadata.xml b/dev-java/ezmorph/metadata.xml
new file mode 100644 (file)
index 0000000..dc291df
--- /dev/null
@@ -0,0 +1,22 @@
+<?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 lang="en">
+        EZMorph is simple java library for transforming an Object to another Object.
+
+        EZMorph's key strengths are:
+
+            Supports transformations for primitives and Objects
+            Supports transformations for multidimensional arrays
+            Supports transformations with DynaBeans
+            JDK 1.3.1 compatible
+            Small memory footprint (~76K)
+       </longdescription>
+       <upstream>
+               <remote-id type="sourceforge">ezmorph</remote-id>
+       </upstream>
+</pkgmetadata>