java-mysql.paketlendi

This commit is contained in:
milisarge 2017-03-27 02:45:43 +03:00
parent f03558090e
commit 956b466a59
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
# 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
}