milis/talimatname/genel/j/java-mysql/talimat

18 lines
448 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: java-jdbc mysql bağlayıcısı
2017-03-27 01:45:43 +02:00
# URL: https://dev.mysql.com/downloads/connector/j/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: openjdk mariadb
2017-03-27 01:45:43 +02:00
2017-10-28 14:10:23 +02:00
isim=java-mysql
surum=5.1.41
uzunisim=mysql-connector-java-${surum}
devir=1
kaynak=(https://cdn.mysql.com/Downloads/Connector-J/${uzunisim}.tar.gz)
2017-03-27 01:45:43 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-03-27 01:45:43 +02:00
cd $uzunisim
jdkyol=`readlink -f /opt/jdk`
install -d "$PKG$jdkyol/jre/lib/ext/"
cp ${uzunisim}-bin.jar $PKG$jdkyol/jre/lib/ext/mysql.jar
}