milis/talimatname/genel/w/weka/talimat

27 lines
856 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +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
# Gerekler: openjdk unzip
# 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//./-}
unzip weka.jar -d $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/gui/weka_icon_new_48.png $PKG/usr/share/pixmaps/weka.png
install -m644 $SRC/weka.desktop $PKG/usr/share/applications/weka.desktop
install -m755 $SRC/weka.sh $PKG/usr/bin/weka
}