milis/talimatname/genel/java-mysql/talimat

18 lines
461 B
Plaintext
Raw Normal View History

2017-03-27 01:45:43 +02:00
# 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
}