summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-04-05 08:19:35 +0000
committerPatrice Clement <monsieurp@gentoo.org>2016-04-05 08:34:09 +0000
commit163463d814e0ccbb54a8760b0de28b94bdd6c300 (patch)
treebaa5e6ab67a06fee59cb6dfb8aeeabdd96f03af1 /dev-java/xml-writer
parentwww-apps/piwigo: initial commit, imported from my overlay (diff)
downloadgentoo-163463d814e0ccbb54a8760b0de28b94bdd6c300.tar.gz
gentoo-163463d814e0ccbb54a8760b0de28b94bdd6c300.tar.bz2
gentoo-163463d814e0ccbb54a8760b0de28b94bdd6c300.zip
dev-java/xml-writer: EAPI 5 bump. Switch to java-pkg-simple.
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-java/xml-writer')
-rw-r--r--dev-java/xml-writer/xml-writer-0.2-r1.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-java/xml-writer/xml-writer-0.2-r1.ebuild b/dev-java/xml-writer/xml-writer-0.2-r1.ebuild
new file mode 100644
index 000000000000..6604bde0ef80
--- /dev/null
+++ b/dev-java/xml-writer/xml-writer-0.2-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source examples"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="A simple XML Writer"
+HOMEPAGE="http://www.megginson.com/downloads/"
+SRC_URI="http://www.megginson.com/downloads/${P}.zip"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+RDEPEND="
+ >=virtual/jre-1.6"
+
+DEPEND="
+ >=virtual/jdk-1.6
+ source? ( app-arch/zip )"
+
+S="${WORKDIR}/${P}"
+
+JAVA_SRC_DIR="src"
+
+java_prepare() {
+ java-pkg_clean
+}
+
+src_install() {
+ java-pkg-simple_src_install
+ use examples && java-pkg_doexamples *.java sample.xml
+}