milis/talimatname/genel/kutuphane/talimat

27 lines
777 B
Plaintext
Raw Normal View History

2017-06-02 20:06:57 +02:00
# Description: Javada yazılmış bir kütüphane uygulaması - Ebubekir Bastama
# URL: https://github.com/ebubekirbastama/KutuphaneOtomasyonu
# Packager: milisarge
# Depends on: apache-ant openjdk java-mysql mariadb xorg-server
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
build() {
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
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/
}