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

18 lines
448 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
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
}