milis/talimatname/genel/java-mysql/talimat

18 lines
461 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: java-jdbc mysql bağlayıcısı
# URL: https://dev.mysql.com/downloads/connector/j/
# Packager: milisarge
# Depends on: openjdk mariadb
name=java-mysql
version=5.1.41
uzunisim=mysql-connector-java-${version}
release=1
source=(https://cdn.mysql.com/Downloads/Connector-J/${uzunisim}.tar.gz)
build() {
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
}