2018-05-25 17:43:40 +02:00
|
|
|
|
# Tanım: A collection of machine learning algorithms for data mining tasks
|
|
|
|
|
# URL: http://www.cs.waikato.ac.nz/ml/weka/
|
|
|
|
|
# Paketçi: milisarge
|
2018-05-25 18:19:42 +02:00
|
|
|
|
# Gerekler: openjdk unzip
|
2018-05-25 17:43:40 +02:00
|
|
|
|
# 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//./-}
|
2018-05-25 18:19:42 +02:00
|
|
|
|
unzip weka.jar -d $SRC/$isim-${surum//./-}
|
2018-05-25 17:43:40 +02:00
|
|
|
|
# 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
|
2018-05-25 18:19:42 +02:00
|
|
|
|
install -m644 weka/gui/weka_icon_new_48.png $PKG/usr/share/pixmaps/weka.png
|
2018-05-25 17:43:40 +02:00
|
|
|
|
install -m644 $SRC/weka.desktop $PKG/usr/share/applications/weka.desktop
|
|
|
|
|
install -m755 $SRC/weka.sh $PKG/usr/bin/weka
|
|
|
|
|
}
|