/[gentoo-x86]/dev-java/easyneurons/easyneurons-2.2.ebuild
Gentoo

Contents of /dev-java/easyneurons/easyneurons-2.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Tue Jun 17 11:07:39 2014 UTC (5 years, 7 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
NM: Cleanup superseeded ebuilds.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key )

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/easyneurons/easyneurons-2.2.ebuild,v 1.5 2012/04/13 18:06:26 ulm Exp $
4
5 EAPI="2"
6 JAVA_PKG_IUSE="source"
7
8 inherit java-pkg-2 java-ant-2
9
10 DESCRIPTION="GUI neural network editor for neuroph"
11 HOMEPAGE="http://neuroph.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/neuroph/neuroph_${PV}_nb.zip"
13
14 LICENSE="GPL-3"
15 SLOT="0"
16 KEYWORDS="amd64 x86"
17
18 IUSE=""
19
20 COMMON_DEP="dev-java/colt:0
21 dev-java/appframework:0
22 dev-java/commons-collections:0
23 dev-java/absolutelayout:0
24 dev-java/jung:0
25 dev-java/xstream:0
26 ~dev-java/neuroph-${PV}
27 dev-java/javahelp:0"
28
29 RDEPEND=">=virtual/jre-1.6
30 ${COMMON_DEP}"
31 DEPEND=">=virtual/jdk-1.6
32 app-arch/unzip
33 ${COMMON_DEP}"
34
35 S="${WORKDIR}/neuroph_${PV}_nb/${PN}"
36
37 java_prepare() {
38 rm -R "${S}/../neuroph"
39 mv lib/CopyLibs/*.jar "${T}"/ || die
40
41 find "${WORKDIR}" -iname '*.jar' -delete
42 find "${WORKDIR}" -iname '*.class' -delete
43 mv "${T}"/org*.jar lib/CopyLibs/
44
45 java-pkg_jar-from --into lib commons-collections \
46 commons-collections.jar commons-collections-3.2.1.jar
47 #java-pkg_jar-from --into lib colt colt.jar
48 java-pkg_jar-from --into lib/swing-app-framework appframework \
49 appframework.jar appframework-1.0.3.jar
50 java-pkg_jar-from --into lib jung jung.jar jung-1.7.6.jar
51 java-pkg_jar-from --into lib/absolutelayout absolutelayout \
52 absolutelayout.jar AbsoluteLayout.jar
53 java-pkg_jar-from --into lib xstream xstream.jar \
54 xstream-1.3.1.jar
55 java-pkg_jar-from --into lib javahelp jh.jar
56 mkdir -p ../neuroph/dist
57 java-pkg_jar-from --into ../neuroph/dist neuroph
58 }
59
60 src_compile() {
61 eant -Dno.deps=True -Dreference.neuroph=lib/neuroph.jar jar
62 }
63
64 src_install() {
65 java-pkg_dojar "dist/${PN}.jar"
66 use source && java-pkg_dosrc src
67
68 java-pkg_dolauncher ${PN} \
69 --main org.neuroph.easyneurons.EasyNeuronsApplication
70
71 }

  ViewVC Help
Powered by ViewVC 1.1.20