summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2012-08-03 21:20:24 +0000
committerVlastimil Babka <caster@gentoo.org>2012-08-03 21:20:24 +0000
commitabcb163739abfb2477bb9c6678ca28bbbe2bdc59 (patch)
tree86dbc23270bca267033555c5fc7cb9fca78b12c5 /dev-java/slf4j-nop
parentVersion bump, bug #395639. Thanks to Ivan Baidakou <the.dmol@gmail.com> for t... (diff)
downloadhistorical-abcb163739abfb2477bb9c6678ca28bbbe2bdc59.tar.gz
historical-abcb163739abfb2477bb9c6678ca28bbbe2bdc59.tar.bz2
historical-abcb163739abfb2477bb9c6678ca28bbbe2bdc59.zip
Version bump, bug #407067. Thanks to Ivan Baidakou <the.dmol@gmail.com> for the ebuild and build.xml.
Package-Manager: portage-2.2.0_alpha116/cvs/Linux x86_64
Diffstat (limited to 'dev-java/slf4j-nop')
-rw-r--r--dev-java/slf4j-nop/ChangeLog11
-rw-r--r--dev-java/slf4j-nop/files/1.6.6-build.xml19
-rw-r--r--dev-java/slf4j-nop/slf4j-nop-1.6.6.ebuild45
3 files changed, 73 insertions, 2 deletions
diff --git a/dev-java/slf4j-nop/ChangeLog b/dev-java/slf4j-nop/ChangeLog
index 56c9bf7c0c19..092be44dc0e3 100644
--- a/dev-java/slf4j-nop/ChangeLog
+++ b/dev-java/slf4j-nop/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-java/slf4j-nop
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/slf4j-nop/ChangeLog,v 1.12 2010/10/17 12:27:07 caster Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/slf4j-nop/ChangeLog,v 1.13 2012/08/03 21:20:23 caster Exp $
+
+*slf4j-nop-1.6.6 (03 Aug 2012)
+
+ 03 Aug 2012; Vlastimil Babka <caster@gentoo.org> +files/1.6.6-build.xml,
+ +slf4j-nop-1.6.6.ebuild:
+ Version bump, bug #407067. Thanks to Ivan Baidakou <the.dmol@gmail.com> for
+ the ebuild and build.xml.
17 Oct 2010; Vlastimil Babka <caster@gentoo.org> -slf4j-nop-1.5.2.ebuild:
Remove old.
diff --git a/dev-java/slf4j-nop/files/1.6.6-build.xml b/dev-java/slf4j-nop/files/1.6.6-build.xml
new file mode 100644
index 000000000000..331523ffdfcf
--- /dev/null
+++ b/dev-java/slf4j-nop/files/1.6.6-build.xml
@@ -0,0 +1,19 @@
+<project name="slf4j-api" default="jar">
+ <target name="compile">
+ <mkdir dir="build"/>
+ <javac srcdir="slf4j-nop/src/main/java/" destdir="build" classpath="${gentoo.classpath}">
+ </javac>
+ </target>
+
+ <target name="jar" depends="compile">
+ <jar destfile="slf4j-nop.jar" basedir="build">
+ <exclude name="org/slf4j/impl/**"/>
+ </jar>
+ </target>
+
+ <target name="javadoc" depends="compile">
+ <mkdir dir="docs"/>
+ <javadoc sourcepath="slf4j-nop/src/main/java/" destdir="docs" classpath="${gentoo.classpath}"/>
+ </target>
+
+</project>
diff --git a/dev-java/slf4j-nop/slf4j-nop-1.6.6.ebuild b/dev-java/slf4j-nop/slf4j-nop-1.6.6.ebuild
new file mode 100644
index 000000000000..44a50be71871
--- /dev/null
+++ b/dev-java/slf4j-nop/slf4j-nop-1.6.6.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/slf4j-nop/slf4j-nop-1.6.6.ebuild,v 1.1 2012/08/03 21:20:23 caster Exp $
+
+EAPI="4"
+JAVA_PKG_IUSE="doc source"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Simple Logging Facade for Java"
+HOMEPAGE="http://www.slf4j.org/"
+SRC_URI="http://www.slf4j.org/dist/${P/-nop/}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+COMMON_DEP="~dev-java/slf4j-api-${PV}:0"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ ${COMMON_DEP}"
+
+S="${WORKDIR}/${P/-api/}"
+
+EANT_GENTOO_CLASSPATH="slf4j-api"
+
+S="${WORKDIR}/${P/-nop/}"
+
+java_prepare() {
+ cp -v "${FILESDIR}"/${PV}-build.xml build.xml || die
+
+ # for ecj-3.5
+ java-ant_rewrite-bootclasspath auto
+
+ cd "${S}"
+ rm *.jar integration/lib/*.jar
+}
+
+src_install() {
+ java-pkg_dojar ${PN}.jar
+ use doc && java-pkg_dojavadoc docs
+ use source && java-pkg_dosrc org
+}