aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortimeraider@gmx.at <timeraider@gmx.at>2015-10-05 21:26:40 +0200
committertimeraider@gmx.at <timeraider@gmx.at>2015-10-05 21:26:40 +0200
commit448c8f060db330e43baa6e6d75c75041743a864d (patch)
treea426580043e9553076175946274e53f1bf8c2df5 /dev-java
parentadded commons-io-2.2 (diff)
downloadeclipse-448c8f060db330e43baa6e6d75c75041743a864d.tar.gz
eclipse-448c8f060db330e43baa6e6d75c75041743a864d.tar.bz2
eclipse-448c8f060db330e43baa6e6d75c75041743a864d.zip
added log4j-1.2.25 - Took Gentoo ebuild from https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-java/log4j/log4j-1.2.15-r2.ebuild?hideattic=0&view=log and adjusted SRC_URI
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/log4j/Manifest1
-rw-r--r--dev-java/log4j/log4j-1.2.15-r2.ebuild53
-rw-r--r--dev-java/log4j/metadata.xml8
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-java/log4j/Manifest b/dev-java/log4j/Manifest
new file mode 100644
index 0000000..401bdac
--- /dev/null
+++ b/dev-java/log4j/Manifest
@@ -0,0 +1 @@
+DIST apache-log4j-1.2.15.tar.gz 2099264 SHA256 f5d9f6aa78b9156ae2de2a32d0f26507d2e73db4993d501db2e79f0bd803ab31 SHA512 b9b89d975c96635dcc1f39633cb062c34e2bdd73c97705f97b38314cc536f1e17ed36cf31142d636d46578805a92c38339c98a4c55bde22fa6464132e8d1297c WHIRLPOOL 74f7aae70ccbd5fe81eeeb692c2466b7ce9b950f9adf26cd55241614db4d3b1c76d746a2d49d38dece397124b0fb9c4e491fd4bc5a5551470c68f33cf73cfea2
diff --git a/dev-java/log4j/log4j-1.2.15-r2.ebuild b/dev-java/log4j/log4j-1.2.15-r2.ebuild
new file mode 100644
index 0000000..6813b32
--- /dev/null
+++ b/dev-java/log4j/log4j-1.2.15-r2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=2
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+MY_P="apache-${P}"
+DESCRIPTION="A low-overhead robust logging package for Java"
+SRC_URI="https://archive.apache.org/dist/logging/${PN}/${PV}/${MY_P}.tar.gz"
+HOMEPAGE="http://logging.apache.org/log4j/"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc source"
+
+CDEPEND=""
+
+RDEPEND=">=virtual/jre-1.4
+ ${CDEPEND}"
+
+DEPEND=">=virtual/jdk-1.4
+ ${CDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+java_prepare() {
+ rm -rf dist/
+ java-pkg_filter-compiler jikes
+ rm -v *.jar || die
+}
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+JAVA_ANT_IGNORE_SYSTEM_CLASSES="true"
+EANT_EXTRA_ARGS="-Djaxp-present=true"
+EANT_DOC_TARGET=""
+
+src_compile() {
+ java-pkg-2_src_compile
+}
+
+src_install() {
+ java-pkg_newjar dist/lib/${P}.jar ${PN}.jar
+
+ if use doc ; then
+ java-pkg_dohtml -r site/*
+ rm -fr "${D}/usr/share/doc/${PF}/html/apidocs"
+ java-pkg_dojavadoc --symlink apidocs site/apidocs
+ fi
+ use source && java-pkg_dosrc src/main/java/*
+}
diff --git a/dev-java/log4j/metadata.xml b/dev-java/log4j/metadata.xml
new file mode 100644
index 0000000..c517ec5
--- /dev/null
+++ b/dev-java/log4j/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>
+ <email>harald.weiner@jku.at</email>
+ <name>Harald Weiner</name>
+ </maintainer>
+</pkgmetadata>