summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2008-08-03 22:35:49 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2008-08-03 22:35:49 +0000
commit2739eb4bb7a92ce0cc2218fae687ede4ad53149f (patch)
tree31fbed33e0670e4d7b24372ba8157f5c858479ed /dev-java/commons-transaction
parentRemove unneeded dependency on adaptx. (diff)
downloadhistorical-2739eb4bb7a92ce0cc2218fae687ede4ad53149f.tar.gz
historical-2739eb4bb7a92ce0cc2218fae687ede4ad53149f.tar.bz2
historical-2739eb4bb7a92ce0cc2218fae687ede4ad53149f.zip
Migrate to transaction-api virtual.
Package-Manager: portage-2.2_rc6/cvs/Linux 2.6.26-gentoo 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.0.1-r2.ebuild45
2 files changed, 52 insertions, 1 deletions
diff --git a/dev-java/commons-transaction/ChangeLog b/dev-java/commons-transaction/ChangeLog
index de2738122b94..7349343fe290 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-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-transaction/ChangeLog,v 1.5 2008/01/05 17:57:50 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-transaction/ChangeLog,v 1.6 2008/08/03 22:32:53 betelgeuse Exp $
+
+*commons-transaction-1.0.1-r2 (03 Aug 2008)
+
+ 03 Aug 2008; Petteri Räty <betelgeuse@gentoo.org>
+ +commons-transaction-1.0.1-r2.ebuild:
+ Migrate to transaction-api virtual.
05 Jan 2008; Petteri Räty <betelgeuse@gentoo.org> metadata.xml,
commons-transaction-1.0.1-r1.ebuild:
diff --git a/dev-java/commons-transaction/commons-transaction-1.0.1-r2.ebuild b/dev-java/commons-transaction/commons-transaction-1.0.1-r2.ebuild
new file mode 100644
index 000000000000..94984238640b
--- /dev/null
+++ b/dev-java/commons-transaction/commons-transaction-1.0.1-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2008 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.0.1-r2.ebuild,v 1.1 2008/08/03 22:32:53 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="A library of utility classes commonly used in transactional Java programming."
+HOMEPAGE="http://jakarta.apache.org/commons/transaction/"
+SRC_URI="mirror://apache/jakarta/commons/transaction/source/${P}-src.tgz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4
+ dev-java/commons-codec
+ java-virtuals/transaction-api
+ dev-java/log4j"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${A}
+ rm -v *.jar || die
+ cd "${S}/lib"
+ rm -v *.jar || die
+}
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="commons-codec,log4j,transaction-api"
+EANT_DOC_TARGET="javadocs"
+
+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/*
+}