milis/talimatname/genel/k/kutuphane/talimat

28 lines
783 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Javada yazılmış bir kütüphane uygulaması - Ebubekir Bastama
2017-06-02 20:06:57 +02:00
# URL: https://github.com/ebubekirbastama/KutuphaneOtomasyonu
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: apache-ant openjdk java-mysql mariadb xorg-server
2017-06-02 20:06:57 +02:00
2017-10-28 14:10:23 +02:00
isim=kutuphane
surum=1.0
devir=2
2017-06-02 20:06:57 +02:00
2017-10-28 14:10:23 +02:00
kaynak=(https://github.com/milisarge/KutuphaneOtomasyonu/archive/$surum.tar.gz
2017-06-02 20:20:54 +02:00
baglanti.java)
2017-06-02 20:06:57 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd KutuphaneOtomasyonu-$surum
2017-06-02 20:06:57 +02:00
export JAVA_HOME=/opt/jdk
export ANT_HOME="/opt/ant"
2017-06-02 20:20:54 +02:00
cp -f $SRC/baglanti.java src/kutuphane/otomasyonu/
2017-06-02 20:06:57 +02:00
/opt/ant/bin/ant
install -d $PKG/opt
install -d $PKG/usr/bin
2017-06-03 10:29:21 +02:00
install -d $PKG/etc
2017-06-02 20:06:57 +02:00
cp dist/Kutuphane_Otomasyonu.jar $PKG/opt/
2017-06-02 20:30:42 +02:00
install -m 755 kutuphane $PKG/usr/bin/
2017-06-03 10:25:03 +02:00
install -m 644 kutup.conf $PKG/etc/
2017-06-02 20:30:42 +02:00
install -m 755 kutuphane_vt_yukle $PKG/opt/
2017-06-02 20:06:57 +02:00
cp -r Sqldizini $PKG/opt/
}