diff options
author | Alistair Bush <ali_bush@gentoo.org> | 2009-10-10 05:14:29 +0000 |
---|---|---|
committer | Alistair Bush <ali_bush@gentoo.org> | 2009-10-10 05:14:29 +0000 |
commit | 73f40b9ececa3c64c6502421566bc04a50ff63fb (patch) | |
tree | 4ed3ebd10be8b9c4398e35190b637ce47a45e53c /dev-java/easyneurons | |
parent | Version Bump. (diff) | |
download | gentoo-2-73f40b9ececa3c64c6502421566bc04a50ff63fb.tar.gz gentoo-2-73f40b9ececa3c64c6502421566bc04a50ff63fb.tar.bz2 gentoo-2-73f40b9ececa3c64c6502421566bc04a50ff63fb.zip |
Version Bump.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/easyneurons')
-rw-r--r-- | dev-java/easyneurons/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/easyneurons/easyneurons-2.3.ebuild | 74 |
2 files changed, 80 insertions, 1 deletions
diff --git a/dev-java/easyneurons/ChangeLog b/dev-java/easyneurons/ChangeLog index bf891a58e876..d65ff77bb856 100644 --- a/dev-java/easyneurons/ChangeLog +++ b/dev-java/easyneurons/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/easyneurons # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/easyneurons/ChangeLog,v 1.3 2009/09/06 08:46:09 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/easyneurons/ChangeLog,v 1.4 2009/10/10 05:14:29 ali_bush Exp $ + +*easyneurons-2.3 (10 Oct 2009) + + 10 Oct 2009; Alistair Bush <ali_bush@gentoo.org> +easyneurons-2.3.ebuild: + Version Bump. 06 Sep 2009; Markus Meier <maekke@gentoo.org> easyneurons-2.2.ebuild: amd64 stable, bug #280654 diff --git a/dev-java/easyneurons/easyneurons-2.3.ebuild b/dev-java/easyneurons/easyneurons-2.3.ebuild new file mode 100644 index 000000000000..24e8adbbb74b --- /dev/null +++ b/dev-java/easyneurons/easyneurons-2.3.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/easyneurons/easyneurons-2.3.ebuild,v 1.1 2009/10/10 05:14:29 ali_bush Exp $ + +JAVA_PKG_IUSE="source" +EAPI="2" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="GUI neural network editor for neuroph" +HOMEPAGE="http://neuroph.sourceforge.net/" +SRC_URI="mirror://sourceforge/neuroph/neuroph_${PV}_nb.zip" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +COMMON_DEP="dev-java/colt:0 + dev-java/appframework:0 + dev-java/commons-collections:0 + dev-java/absolutelayout:0 + dev-java/jung:0 + dev-java/xstream:0 + ~dev-java/neuroph-${PV} + dev-java/javahelp:0 + dev-java/appframework:0" + +RDEPEND=">=virtual/jre-1.6 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.6 + app-arch/unzip + ${COMMON_DEP}" + +S="${WORKDIR}/neuroph_${PV}_nb/${PN}" + +java_prepare() { + rm -R "${S}/../neuroph" + mv lib/CopyLibs/*.jar "${T}"/ || die + + find "${WORKDIR}" -iname '*.jar' -delete + find "${WORKDIR}" -iname '*.class' -delete + mv "${T}"/org*.jar lib/CopyLibs/ + + java-pkg_jar-from --into lib commons-collections \ + commons-collections.jar commons-collections-3.2.1.jar + java-pkg_jar-from --into lib appframework appframework.jar + java-pkg_jar-from --into lib/swing-app-framework appframework \ + appframework.jar appframework-1.0.3.jar + java-pkg_jar-from --into lib jung jung.jar jung-1.7.6.jar + java-pkg_jar-from --into lib absolutelayout \ + absolutelayout.jar + java-pkg_jar-from --into lib xstream xstream.jar \ + xstream-1.3.1.jar + java-pkg_jar-from --into lib javahelp jh.jar + mkdir -p ../neuroph/dist + java-pkg_jar-from --into ../neuroph/dist neuroph +} + +src_compile() { + eant -Dno.deps=True -Dreference.neuroph=lib/neuroph.jar \ + -Dlibs.swing-app-framework.classpath=lib/appframework.jar \ + -Dlibs.absolutelayout.classpath=lib/absolutelayout.jar jar +} + +src_install() { + java-pkg_newjar "dist/easyNeurons.jar" + use source && java-pkg_dosrc src + + java-pkg_dolauncher ${PN} \ + --main org.neuroph.easyneurons.EasyNeuronsApplication + +} |