From 956b466a595ab58849e4ccc658fd471649321cc1 Mon Sep 17 00:00:00 2001 From: milisarge Date: Mon, 27 Mar 2017 02:45:43 +0300 Subject: [PATCH] java-mysql.paketlendi --- talimatname/genel/java-mysql/talimat | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 talimatname/genel/java-mysql/talimat diff --git a/talimatname/genel/java-mysql/talimat b/talimatname/genel/java-mysql/talimat new file mode 100644 index 000000000..f65a490a7 --- /dev/null +++ b/talimatname/genel/java-mysql/talimat @@ -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 +}