summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-05-22 14:56:38 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-05-22 14:56:38 +0000
commit635bf51061f5f50773e5b6615730512811b75d26 (patch)
treed22b094ff0c6ab435677f4e3bf369abeebd8dbc5 /dev-java/commons-transaction
parentBackported src_compile() and src_install() from 2.1.14 ebuild to finally fix ... (diff)
downloadgentoo-2-635bf51061f5f50773e5b6615730512811b75d26.tar.gz
gentoo-2-635bf51061f5f50773e5b6615730512811b75d26.tar.bz2
gentoo-2-635bf51061f5f50773e5b6615730512811b75d26.zip
Initial import, ebuild based on the contribution by Josh Nichols <nichoj@alum.rpi.edu>. Fixes #93510
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-java/commons-transaction')
-rw-r--r--dev-java/commons-transaction/ChangeLog11
-rw-r--r--dev-java/commons-transaction/Manifest4
-rw-r--r--dev-java/commons-transaction/commons-transaction-1.0.1.ebuild49
-rw-r--r--dev-java/commons-transaction/files/digest-commons-transaction-1.0.11
-rw-r--r--dev-java/commons-transaction/metadata.xml5
5 files changed, 70 insertions, 0 deletions
diff --git a/dev-java/commons-transaction/ChangeLog b/dev-java/commons-transaction/ChangeLog
new file mode 100644
index 000000000000..7fccfc2e16fd
--- /dev/null
+++ b/dev-java/commons-transaction/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/commons-transaction
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-transaction/ChangeLog,v 1.1 2005/05/22 14:56:38 luckyduck Exp $
+
+*commons-transaction-1.0.1 (22 May 2005)
+
+ 22 May 2005; Jan Brinkmann <luckyduck@gentoo.org> +metadata.xml,
+ +commons-transaction-1.0.1.ebuild:
+ Initial import, ebuild based on the contribution by Josh Nichols
+ <nichoj@alum.rpi.edu>. Fixes #93510
+
diff --git a/dev-java/commons-transaction/Manifest b/dev-java/commons-transaction/Manifest
new file mode 100644
index 000000000000..667b2fdd22ca
--- /dev/null
+++ b/dev-java/commons-transaction/Manifest
@@ -0,0 +1,4 @@
+MD5 0caeb8abe73b00f0f0827e58b5e921f4 commons-transaction-1.0.1.ebuild 1323
+MD5 b47d5eeadc404a755522b19f4f7f40b0 ChangeLog 381
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 f09738e95a2701a10c8bc3d084c9aaad files/digest-commons-transaction-1.0.1 78
diff --git a/dev-java/commons-transaction/commons-transaction-1.0.1.ebuild b/dev-java/commons-transaction/commons-transaction-1.0.1.ebuild
new file mode 100644
index 000000000000..b01a6830b84c
--- /dev/null
+++ b/dev-java/commons-transaction/commons-transaction-1.0.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2005 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.ebuild,v 1.1 2005/05/22 14:56:38 luckyduck Exp $
+
+inherit java-pkg
+
+DESCRIPTION="Commons Transaction aims at providing lightweight, standardized, well tested and efficient implementations 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="doc jikes source"
+
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core
+ jikes? ( dev-java/jikes )
+ source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.4
+ dev-java/commons-codec
+ dev-java/log4j"
+S="${WORKDIR}"
+
+COMMONS_CODEC="commons-codec commons-codec.jar commons-codec-1.2.jar"
+LOG4J="log4j log4j.jar log4j-1.2.8.jar"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}/lib
+ java-pkg_jar-from ${COMMONS_CODEC}
+ java-pkg_jar-from ${LOG4J}
+}
+
+src_compile() {
+ local antflags="jar"
+ use doc && antflags="${antflags} javadocs"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags} jar || die "Compilation failed"
+}
+
+src_install() {
+ java-pkg_newjar dist/lib/${P}.jar ${PN}.jar
+
+ dodoc NOTICE.txt REAME.txt RELEASE-NOTES.txt
+ java-pkg_dohtml -r build/doc/* xdocs
+ use source && java-pkg_dosrc src/java/*
+}
diff --git a/dev-java/commons-transaction/files/digest-commons-transaction-1.0.1 b/dev-java/commons-transaction/files/digest-commons-transaction-1.0.1
new file mode 100644
index 000000000000..c352f68cd146
--- /dev/null
+++ b/dev-java/commons-transaction/files/digest-commons-transaction-1.0.1
@@ -0,0 +1 @@
+MD5 2ec968e144f84e8d0ab193757bd4e306 commons-transaction-1.0.1-src.tgz 849934
diff --git a/dev-java/commons-transaction/metadata.xml b/dev-java/commons-transaction/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/commons-transaction/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>