milis/talimatname/genel/j/java-mysql/talimat

18 lines
454 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: java-jdbc mysql bağlayıcısı
2017-03-27 01:45:43 +02:00
# URL: https://dev.mysql.com/downloads/connector/j/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: openjdk mariadb
2017-03-27 01:45:43 +02:00
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)
2017-10-27 23:59:41 +02:00
derle() {
2017-03-27 01:45:43 +02:00
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
}