# Tanım: java-jdbc mysql bağlayıcısı
# URL: https://dev.mysql.com/downloads/connector/j/
# Paketçi: milisarge
# Gerekler: openjdk mariadb
# Grup: sistem

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
}
