milis/talimatname/genel/kutuphane/talimat

26 lines
716 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
release=1
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/
cp kutuphane $PKG/usr/bin/
cp kutuphane_vt_yukle $PKG/opt/
cp -r Sqldizini $PKG/opt/
}