diff options
author | Vlastimil Babka <caster@gentoo.org> | 2012-08-03 21:20:24 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2012-08-03 21:20:24 +0000 |
commit | eea5e341a3a14b9b381b10abf185e3c03fdc10c7 (patch) | |
tree | e7f26b4fb4cdaf4e8ada73eaf3a6cc10d960abb1 /dev-java/slf4j-nop | |
parent | Version bump, bug #395639. Thanks to Ivan Baidakou <the.dmol@gmail.com> for t... (diff) | |
download | gentoo-2-eea5e341a3a14b9b381b10abf185e3c03fdc10c7.tar.gz gentoo-2-eea5e341a3a14b9b381b10abf185e3c03fdc10c7.tar.bz2 gentoo-2-eea5e341a3a14b9b381b10abf185e3c03fdc10c7.zip |
Version bump, bug #407067. Thanks to Ivan Baidakou <the.dmol@gmail.com> for the ebuild and build.xml.
(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/slf4j-nop')
-rw-r--r-- | dev-java/slf4j-nop/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/slf4j-nop/files/1.6.6-build.xml | 19 | ||||
-rw-r--r-- | dev-java/slf4j-nop/slf4j-nop-1.6.6.ebuild | 45 |
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 +} |