summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2009-05-23 08:24:48 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2009-05-23 08:24:48 +0000
commit538ed3484bd0b28d6b9c522d9164aaf484d43686 (patch)
tree64a15f769ff0c23a369ebe858ca3e506aa1bb381 /dev-java/commons-transaction
parentNew package. Needed for version bumping commons-transaction. Ebuild based on ... (diff)
downloadgentoo-2-538ed3484bd0b28d6b9c522d9164aaf484d43686.tar.gz
gentoo-2-538ed3484bd0b28d6b9c522d9164aaf484d43686.tar.bz2
gentoo-2-538ed3484bd0b28d6b9c522d9164aaf484d43686.zip
Version bump.
(Portage version: 2.2_rc28/cvs/Linux i686)
Diffstat (limited to 'dev-java/commons-transaction')
-rw-r--r--dev-java/commons-transaction/ChangeLog8
-rw-r--r--dev-java/commons-transaction/commons-transaction-1.2.ebuild45
2 files changed, 52 insertions, 1 deletions
diff --git a/dev-java/commons-transaction/ChangeLog b/dev-java/commons-transaction/ChangeLog
index 3eb1537a165c..8de985cd87ed 100644
--- a/dev-java/commons-transaction/ChangeLog
+++ b/dev-java/commons-transaction/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/commons-transaction
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-transaction/ChangeLog,v 1.8 2009/05/23 07:58:01 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-transaction/ChangeLog,v 1.9 2009/05/23 08:24:48 betelgeuse Exp $
+
+*commons-transaction-1.2 (23 May 2009)
+
+ 23 May 2009; Petteri Räty <betelgeuse@gentoo.org>
+ +commons-transaction-1.2.ebuild:
+ Version bump.
23 May 2009; Petteri Räty <betelgeuse@gentoo.org>
commons-transaction-1.0.1-r2.ebuild:
diff --git a/dev-java/commons-transaction/commons-transaction-1.2.ebuild b/dev-java/commons-transaction/commons-transaction-1.2.ebuild
new file mode 100644
index 000000000000..98225c51b36f
--- /dev/null
+++ b/dev-java/commons-transaction/commons-transaction-1.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-transaction/commons-transaction-1.2.ebuild,v 1.1 2009/05/23 08:24:48 betelgeuse Exp $
+
+EAPI="2"
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="A library of utility classes commonly used in transactional Java programming."
+SRC_URI="mirror://apache/commons/transaction/source/${P}-src.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4
+ dev-java/commons-codec:0
+ java-virtuals/transaction-api
+ dev-java/log4j:0
+ dev-java/commons-logging:0
+ dev-java/glassfish-connector-api:0"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}"
+
+S="${WORKDIR}/${P}-src"
+
+java_prepare() {
+ rm -v *.jar lib/*.jar || die
+}
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="commons-codec,log4j,transaction-api,commons-logging,glassfish-connector-api"
+EANT_DOC_TARGET="javadocs"
+EANT_EXTRA_ARGS="-Djta.present=true -Djca.present=true -Dservlet.present=true"
+
+src_install() {
+ java-pkg_newjar dist/lib/${P}.jar ${PN}.jar
+
+ dodoc NOTICE.txt README.txt RELEASE-NOTES.txt || die
+ dohtml -r xdocs/* || die
+ use doc && java-pkg_dojavadoc build/doc/apidocs
+ use source && java-pkg_dosrc src/java/*
+}