milis/talimatname/genel/k/kutuphane/talimat

28 lines
791 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
name=kutuphane
version=1.0
2017-06-03 10:25:24 +02:00
release=2
2017-06-02 20:06:57 +02:00
2017-06-02 20:20:54 +02:00
source=(https://github.com/milisarge/KutuphaneOtomasyonu/archive/$version.tar.gz
baglanti.java)
2017-06-02 20:06:57 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-06-02 20:06:57 +02:00
cd KutuphaneOtomasyonu-$version
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/
}