milis/talimatname/genel/k/kutuphane/talimat

28 lines
783 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Javada yazılmış bir kütüphane uygulaması - Ebubekir Bastama
# URL: https://github.com/ebubekirbastama/KutuphaneOtomasyonu
# Paketçi: milisarge
# Gerekler: apache-ant openjdk java-mysql mariadb xorg-server
isim=kutuphane
surum=1.0
devir=2
kaynak=(https://github.com/milisarge/KutuphaneOtomasyonu/archive/$surum.tar.gz
baglanti.java)
derle() {
cd KutuphaneOtomasyonu-$surum
export JAVA_HOME=/opt/jdk
export ANT_HOME="/opt/ant"
cp -f $SRC/baglanti.java src/kutuphane/otomasyonu/
/opt/ant/bin/ant
install -d $PKG/opt
install -d $PKG/usr/bin
install -d $PKG/etc
cp dist/Kutuphane_Otomasyonu.jar $PKG/opt/
install -m 755 kutuphane $PKG/usr/bin/
install -m 644 kutup.conf $PKG/etc/
install -m 755 kutuphane_vt_yukle $PKG/opt/
cp -r Sqldizini $PKG/opt/
}