diff options
author | Vlastimil Babka <caster@gentoo.org> | 2007-05-07 16:56:10 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2007-05-07 16:56:10 +0000 |
commit | ff81426f80eb55f46ea6566142fbdb753e4e2add (patch) | |
tree | 531ba1b172174cb7d0bd0b817c8105f959ed0c7c /dev-java | |
parent | Migrate to split-ant, fix compiling with java-strict. (diff) | |
download | historical-ff81426f80eb55f46ea6566142fbdb753e4e2add.tar.gz historical-ff81426f80eb55f46ea6566142fbdb753e4e2add.tar.bz2 historical-ff81426f80eb55f46ea6566142fbdb753e4e2add.zip |
Revbump to migrate to split-ant, tweak style.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/avalon-logkit/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/avalon-logkit/avalon-logkit-2.1-r1.ebuild | 62 | ||||
-rw-r--r-- | dev-java/avalon-logkit/files/digest-avalon-logkit-2.1-r1 | 3 |
3 files changed, 72 insertions, 1 deletions
diff --git a/dev-java/avalon-logkit/ChangeLog b/dev-java/avalon-logkit/ChangeLog index 873369e6335d..fc49df009018 100644 --- a/dev-java/avalon-logkit/ChangeLog +++ b/dev-java/avalon-logkit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/avalon-logkit # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/avalon-logkit/ChangeLog,v 1.44 2007/04/22 18:44:18 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/avalon-logkit/ChangeLog,v 1.45 2007/05/07 16:56:10 caster Exp $ + +*avalon-logkit-2.1-r1 (07 May 2007) + + 07 May 2007; Vlastimil Babka <caster@gentoo.org> + +avalon-logkit-2.1-r1.ebuild: + Revbump to migrate to split-ant, tweak style. 22 Apr 2007; Vlastimil Babka <caster@gentoo.org> avalon-logkit-1.2-r2.ebuild: diff --git a/dev-java/avalon-logkit/avalon-logkit-2.1-r1.ebuild b/dev-java/avalon-logkit/avalon-logkit-2.1-r1.ebuild new file mode 100644 index 000000000000..8e699f945d57 --- /dev/null +++ b/dev-java/avalon-logkit/avalon-logkit-2.1-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/avalon-logkit/avalon-logkit-2.1-r1.ebuild,v 1.1 2007/05/07 16:56:10 caster Exp $ + +JAVA_PKG_IUSE="doc source test" +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Easy-to-use Java logging toolkit" +HOMEPAGE="http://avalon.apache.org/" +SRC_URI="mirror://apache/excalibur/excalibur-logkit/source/${P}-src.tar.gz" + +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86" +LICENSE="Apache-2.0" +SLOT="2.0" +IUSE="" + +COMMON_DEP=" + dev-java/log4j + dev-java/sun-jms + dev-java/sun-javamail + =dev-java/servletapi-2.4*" + +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" +# Doesn't like 1.6 changes to JDBC +DEPEND="|| ( + =virtual/jdk-1.5* + =virtual/jdk-1.4* + ) + test? ( + =dev-java/junit-3* + dev-java/ant-junit + ) + ${COMMON_DEP}" + +src_unpack() { + unpack ${A} + cd "${S}" + + java-ant_ignore-system-classes + + java-ant_xml-rewrite -f build.xml \ + -c -e available -a classpathref -v 'build.classpath' || die + + mkdir -p target/lib || die + cd target/lib || die + java-pkg_jar-from servletapi-2.4 + java-pkg_jar-from sun-jms + java-pkg_jar-from sun-javamail + java-pkg_jar-from log4j +} + +src_test() { + java-pkg_jar-from --into target/lib junit + ANT_TASKS="ant-junit" eant test +} + +src_install() { + java-pkg_newjar target/${P}.jar + use doc && java-pkg_dojavadoc dist/docs/api + use source && java-pkg_dosrc src/java/* +} diff --git a/dev-java/avalon-logkit/files/digest-avalon-logkit-2.1-r1 b/dev-java/avalon-logkit/files/digest-avalon-logkit-2.1-r1 new file mode 100644 index 000000000000..a40d200da378 --- /dev/null +++ b/dev-java/avalon-logkit/files/digest-avalon-logkit-2.1-r1 @@ -0,0 +1,3 @@ +MD5 fee6f5f2db70c320aafbfb4cc32c1c43 avalon-logkit-2.1-src.tar.gz 60218 +RMD160 03d42940610150390744a9e2bd546be4537a371e avalon-logkit-2.1-src.tar.gz 60218 +SHA256 a5f158a52db9acd58648ffe75a023f43c5cbb94d027bb2beccf4983614d4e155 avalon-logkit-2.1-src.tar.gz 60218 |