diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2009-05-23 08:24:48 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2009-05-23 08:24:48 +0000 |
commit | 538ed3484bd0b28d6b9c522d9164aaf484d43686 (patch) | |
tree | 64a15f769ff0c23a369ebe858ca3e506aa1bb381 /dev-java/commons-transaction | |
parent | New package. Needed for version bumping commons-transaction. Ebuild based on ... (diff) | |
download | gentoo-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/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/commons-transaction/commons-transaction-1.2.ebuild | 45 |
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/* +} |