diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2014-01-03 21:59:35 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2014-01-03 21:59:35 +0000 |
commit | a56914f6904d93d7c6be10fe70ff5e2f985b8e74 (patch) | |
tree | cd024164eebf36a87832d9660a771fb4a27effc8 /dev-java | |
parent | Add unit file (diff) | |
download | gentoo-2-a56914f6904d93d7c6be10fe70ff5e2f985b8e74.tar.gz gentoo-2-a56914f6904d93d7c6be10fe70ff5e2f985b8e74.tar.bz2 gentoo-2-a56914f6904d93d7c6be10fe70ff5e2f985b8e74.zip |
Import from sunrise-overlay. Fixes bug #162790. Add java-herd as backup.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jlibeps/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/jlibeps/files/jlibeps-build.xml.patch | 20 | ||||
-rw-r--r-- | dev-java/jlibeps/jlibeps-0.1.ebuild | 39 | ||||
-rw-r--r-- | dev-java/jlibeps/metadata.xml | 9 |
4 files changed, 77 insertions, 0 deletions
diff --git a/dev-java/jlibeps/ChangeLog b/dev-java/jlibeps/ChangeLog new file mode 100644 index 000000000000..64f0ede24e96 --- /dev/null +++ b/dev-java/jlibeps/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-java/jlibeps +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jlibeps/ChangeLog,v 1.1 2014/01/03 21:59:35 mrueg Exp $ + +*jlibeps-0.1 (03 Jan 2014) + + 03 Jan 2014; Manuel Rüger <mrueg@gentoo.org> +files/jlibeps-build.xml.patch, + +jlibeps-0.1.ebuild, +metadata.xml: + Import from sunrise-overlay. Fixes bug #162790. Add java-herd as backup. diff --git a/dev-java/jlibeps/files/jlibeps-build.xml.patch b/dev-java/jlibeps/files/jlibeps-build.xml.patch new file mode 100644 index 000000000000..99df166ad317 --- /dev/null +++ b/dev-java/jlibeps/files/jlibeps-build.xml.patch @@ -0,0 +1,20 @@ +--- build.xml.old 2012-04-04 16:52:56.948652156 +0200 ++++ build.xml 2012-04-05 17:35:30.360517235 +0200 +@@ -19,9 +19,15 @@ + </javadoc>
+ </target>
+
+-
++ <!-- Builds classes -->
++ <target name="compile" description="Builds classes">
++ <javac srcdir="src" destdir="bin">
++ <classpath />
++ <include name="**/*.java" />
++ </javac>
++ </target>
+ <!-- Creates the jar -->
+- <target name="jar" description="Generates jlibeps.jar">
++ <target name="jar" description="Generates jlibeps.jar" depends="compile">
+
+ <jar jarfile="${dir.out}/jlibeps.jar" >
+ <!-- Filters the files -->
diff --git a/dev-java/jlibeps/jlibeps-0.1.ebuild b/dev-java/jlibeps/jlibeps-0.1.ebuild new file mode 100644 index 000000000000..a4185e8776dc --- /dev/null +++ b/dev-java/jlibeps/jlibeps-0.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jlibeps/jlibeps-0.1.ebuild,v 1.1 2014/01/03 21:59:35 mrueg Exp $ + +EAPI=5 + +JAVA_PKG_IUSE="doc source" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="A java development library which allows the creation of an EPS file from a Graphics2D" +HOMEPAGE="http://jlibeps.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="" + +RDEPEND=">=virtual/jre-1.4" + +DEPEND="app-arch/unzip + >=virtual/jdk-1.4" + +EANT_DOC_TARGET="doc" + +S=${WORKDIR} + +java_prepare() { + epatch "${FILESDIR}"/${PN}-build.xml.patch + find . -name '*.class' -exec rm -v {} + || die "Class removal failed" +} + +src_install() { + java-pkg_dojar out/${PN}.jar + use doc && java-pkg_dojavadoc doc + use source && java-pkg_dosrc src/org +} diff --git a/dev-java/jlibeps/metadata.xml b/dev-java/jlibeps/metadata.xml new file mode 100644 index 000000000000..512450f6984c --- /dev/null +++ b/dev-java/jlibeps/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> + <maintainer> + <email>mrueg@gentoo.org</email> + <name>Manuel Rüger</name> + </maintainer> +</pkgmetadata> |