From 0caed7d6cf7d6dbbc474b90056b05509d7b87524 Mon Sep 17 00:00:00 2001 From: milisbir Date: Fri, 25 May 2018 17:43:40 +0200 Subject: [PATCH] weka.paketlendi --- talimatname/genel/w/weka/talimat | 25 +++++++++++++++++++++++++ talimatname/genel/w/weka/weka.desktop | 19 +++++++++++++++++++ talimatname/genel/w/weka/weka.sh | 16 ++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 talimatname/genel/w/weka/talimat create mode 100644 talimatname/genel/w/weka/weka.desktop create mode 100644 talimatname/genel/w/weka/weka.sh diff --git a/talimatname/genel/w/weka/talimat b/talimatname/genel/w/weka/talimat new file mode 100644 index 000000000..b2ffa0e1d --- /dev/null +++ b/talimatname/genel/w/weka/talimat @@ -0,0 +1,25 @@ +# Tanım: A collection of machine learning algorithms for data mining tasks +# URL: http://www.cs.waikato.ac.nz/ml/weka/ +# Paketçi: milisarge +# Gerekler: openjdk +# Grup: geliştirme + +isim=weka +surum=3.8.2 +devir=1 +kaynak=(http://downloads.sourceforge.net/sourceforge/weka/weka-${surum//./-}.zip + weka.sh + weka.desktop) + +derle() { + cd $SRC/$isim-${surum//./-} + # install jar file + mkdir -p $PKG/usr/share/java/$isim + install -m644 weka.jar $PKG/usr/share/java/$isim/weka.jar + # setup for freedesktop icons and shell script + mkdir -p $PKG/usr/share/{applications,pixmaps} + mkdir -p $PKG/usr/bin + install -m644 weka.ico $PKG/usr/share/pixmaps/weka.ico + install -m644 $SRC/weka.desktop $PKG/usr/share/applications/weka.desktop + install -m755 $SRC/weka.sh $PKG/usr/bin/weka +} diff --git a/talimatname/genel/w/weka/weka.desktop b/talimatname/genel/w/weka/weka.desktop new file mode 100644 index 000000000..1b64868cd --- /dev/null +++ b/talimatname/genel/w/weka/weka.desktop @@ -0,0 +1,19 @@ +[Desktop Entry] +Encoding=UTF-8 +Categories=Development;Science;Math;Database;Java; +Name=Weka +Comment=A data mining and machine learning toolkit +Comment[de]=Werkzeuge für Datenfilterung und Lernen durch Maschine +Comment[en]=A data mining and machine learning toolkit +Comment[es]=Herramientas para minería de datos y aprendizaje de máquinas +Comment[fr]=Outils pour l'extraction de connaissances a partir des données +Comment[it]=Attrezzi per l'estrazione di dati ed imparare di macchina +Comment[pt]=Ferramentas para a extração de dados e a aprendizagem de máquina +Comment[tr]=Veri Madenciliği ve Makina Öğrenme Aracı +Icon=weka.ico +TryExec=/usr/bin/weka +Exec=/usr/bin/weka +URL=http://www.cs.waikato.ac.nz/ml/weka/ +StartupNotify=false +Terminal=false +Type=Application diff --git a/talimatname/genel/w/weka/weka.sh b/talimatname/genel/w/weka/weka.sh new file mode 100644 index 000000000..d18250d94 --- /dev/null +++ b/talimatname/genel/w/weka/weka.sh @@ -0,0 +1,16 @@ +#! /bin/sh + +# Note: the '-Xmx2g' flag is used to set the maximum memory that the java +# program is allowed. When working with large data sets, this number may need +# to be increased based on how much memory you wish to allow weka to have. +# Specifying command line arguments will override the defaults shown here. +# Example: '-Xmx4g' +DEFAULT_ARGS='-Xms32m -Xmx2g' + +if [ $# -gt 0 ]; then + ARGS="$@" +else + ARGS="$DEFAULT_ARGS" +fi + +java $ARGS -jar /usr/share/java/weka/weka.jar