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

19 lines
463 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: java-jdbc mysql bağlayıcısı
# URL: https://dev.mysql.com/downloads/connector/j/
# Paketçi: milisarge
# Gerekler: openjdk mariadb
2018-08-08 14:24:17 +02:00
# Grup: sistem
2018-06-09 00:06:58 +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)
derle() {
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
}