diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-05-20 19:47:23 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-05-20 19:47:23 +0000 |
commit | 5cdec5bddedb5e1a9e7c1d903d34571c5746b18b (patch) | |
tree | 0fcbd585d93e5186abf5d119b083976939050bbf /dev-java/axion/axion-1.0_rc2-r2.ebuild | |
parent | Security fix, bug 90595. (diff) | |
download | gentoo-2-5cdec5bddedb5e1a9e7c1d903d34571c5746b18b.tar.gz gentoo-2-5cdec5bddedb5e1a9e7c1d903d34571c5746b18b.tar.bz2 gentoo-2-5cdec5bddedb5e1a9e7c1d903d34571c5746b18b.zip |
dont install jar with a version number any longer, stable on amd64
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-java/axion/axion-1.0_rc2-r2.ebuild')
-rw-r--r-- | dev-java/axion/axion-1.0_rc2-r2.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/axion/axion-1.0_rc2-r2.ebuild b/dev-java/axion/axion-1.0_rc2-r2.ebuild new file mode 100644 index 000000000000..1394c1865556 --- /dev/null +++ b/dev-java/axion/axion-1.0_rc2-r2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/axion/axion-1.0_rc2-r2.ebuild,v 1.1 2005/05/20 19:47:23 luckyduck Exp $ + +inherit java-pkg eutils + +DESCRIPTION="Java RDMS with SQL and JDBC" +HOMEPAGE="http://axion.tigris.org/" +SRC_URI="http://axion.tigris.org/releases/1.0M2/axion-1.0-M2-src.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="doc jikes source" +RDEPEND=">=dev-java/commons-collections-2.1 + >=dev-java/commons-primitives-1.0 + >=dev-java/commons-codec-1.2 + >=dev-java/log4j-1.2 + =dev-java/jakarta-regexp-1.3*" +DEPEND="${RDEPEND} + jikes? ( >=dev-java/jikes-1.19 ) + source? ( app-arch/zip ) + >=dev-java/ant-1.5.4" + +S=${WORKDIR}/${PN}-1.0-M2 + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/commons-codec.patch + + mkdir lib test + ( + cd lib + java-pkg_jar-from commons-collections || die commons-collections + java-pkg_jar-from commons-primitives || die commons-primitives + java-pkg_jar-from commons-logging || die commons-logging + java-pkg_jar-from commons-codec || die commons-codec + java-pkg_jar-from log4j || die log4j + java-pkg_jar-from jakarta-regexp-1.3 || die jakarta-regexp-1.3 + ) + + echo javacc.home=/usr/share/javacc/lib \ + > build.properties +} + +src_compile() { + local antflags="compile jar" + use jikes && antflags="-Dbuild.compiler=jikes ${antflags}" + use doc && antflags="${antflags} javadoc" + ant ${antflags} || die "Compilation failed" +} + +src_install() { + mv bin/axion-1.0-M2.jar ${PN}.jar + java-pkg_dojar ${PN}.jar + use doc && java-pkg_dohtml -r bin/docs/api + use source && java-pkg_dosrc src/* +} |