summaryrefslogtreecommitdiff
path: root/dev-java/xml-writer
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/xml-writer')
-rw-r--r--dev-java/xml-writer/Manifest3
-rw-r--r--dev-java/xml-writer/metadata.xml8
-rw-r--r--dev-java/xml-writer/xml-writer-0.2-r1.ebuild36
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-java/xml-writer/Manifest b/dev-java/xml-writer/Manifest
new file mode 100644
index 000000000000..161c9c0073a3
--- /dev/null
+++ b/dev-java/xml-writer/Manifest
@@ -0,0 +1,3 @@
+DIST xml-writer-0.2.zip 51666 BLAKE2B 7b2655f18878ab2c13e42538b07faf463c581dae10fda416bf0548d7baaa13ae457c2a7636b54297826b2c4622aa9d9770886ccf512f7b8e337b288a07cd1928 SHA512 6097d3515b0b6b06710c0913dbd378b2008a485d28000f7397151464747f0156f7e427efd33a8d0f43494b6c3d80470207fcbc742b338f3adec7d4d0f3a2b6d5
+EBUILD xml-writer-0.2-r1.ebuild 652 BLAKE2B a589dbd3e6608655b158ad0b67401f3b2f260986b7b5bac534a295e32845453acfc662eb0d3ff51c722d0d241e8b93d902c6cf16ce0b4285f2dc22c3f398e691 SHA512 964df4000c73f96791d2eee136bf1cb19988651a774b72076e11008d005c9dbbc0854b6d9ccf2e26d3205ef0878791b94ebbb03861e7337ac5082b541f56ea79
+MISC metadata.xml 236 BLAKE2B 5a64c4404c26415501f50132968e687d4f1b852738cb0e1a5aef8cc4de9e4ea623066f46068fce3d80514ff122d85304e3fd12282c4b1513a4084523ef8bef07 SHA512 1755c2590e59060f697294c5ad125b83f2d50e05a71f7091b7de75953941914cd2db3a893bd6154a2c90fa4aff5e313e75e3e174dbba1edd5c112787da5be253
diff --git a/dev-java/xml-writer/metadata.xml b/dev-java/xml-writer/metadata.xml
new file mode 100644
index 000000000000..952a4b9b605c
--- /dev/null
+++ b/dev-java/xml-writer/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/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..1aea28db10e2
--- /dev/null
+++ b/dev-java/xml-writer/xml-writer-0.2-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 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="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
+}