Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 97209 Details for
Bug 147902
Version bump: dev-utils/weka-3.4.8a
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
weka-3.4.8a.ebuild
weka-3.4.8a.ebuild (text/plain), 1.86 KB, created by
Jan Dusek
on 2006-09-17 02:12:07 UTC
(
hide
)
Description:
weka-3.4.8a.ebuild
Filename:
MIME Type:
Creator:
Jan Dusek
Created:
2006-09-17 02:12:07 UTC
Size:
1.86 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-util/weka/weka-3.4.6.ebuild,v 1.3 2006/02/19 00:02:15 betelgeuse Exp $ > >inherit eutils java-pkg versionator > >MY_P="${PN}-$(replace_all_version_separators '-')" >DESCRIPTION="A Java data mining package" >SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip" >HOMEPAGE="http://www.cs.waikato.ac.nz/ml/weka/" >SLOT="0" >LICENSE="GPL-2" >KEYWORDS="~x86 ~amd64 ~ppc" >DEPEND=">=virtual/jdk-1.4 > app-arch/unzip > source? ( app-arch/zip )" >RDEPEND=">=virtual/jre-1.4" >IUSE="doc source" > >S=${WORKDIR}/${MY_P} > >src_unpack() { > unpack ${A} > cd ${S} > > unzip -qq ${PN}-src.jar -d src || die "Failed to unpack the source" > > rm *.jar >} > >src_compile() { > mkdir build dist > echo "Compiling sources" > # We need to set the maximum heap size to 128m to avoid > # OutOfMemoryErrors > find src/ -name "*.java" | xargs javac -J-Xmx128m -d build \ > -sourcepath src/ -nowarn || die "Failed to compile ${i}" > > echo "Copying resources" > cd src > find . -type f -not -name '*.java' -and -not -name "*.MF" -print | \ > while read file; do > mkdir -p $(dirname "../build/${file}") > cp "${file}" "../build/${file}" || die "Failed to extract resources" > done > cd .. > > echo "Creating JAR" > jar cf dist/${PN}.jar -C build . || die "Failed to create JAR archive" > > if use doc ; then > mkdir -p dist/doc > echo "Generating javadocs" > find src/ -name "*.java" | xargs javadoc -J-Xmx128m -d dist/doc/ \ > -quiet || die "Failed to generate javadoc" > fi >} > >src_install() { > java-pkg_dojar dist/*.jar > > cat > ${PN} <<-END >#!/bin/sh >exec \$(java-config --java) -classpath \$(java-config -p ${PN}) \ > ${PN}.gui.GUIChooser "\$@" > END > dobin ${PN} > > use source && java-pkg_dosrc src/* > > dodoc README > use doc && java-pkg_dohtml -r dist/doc/* > > dodir /usr/share/${PN}/data/ > insinto /usr/share/${PN}/data/ > doins data/* >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 147902
: 97209