summaryrefslogtreecommitdiffstats
path: root/extra/mysqlclient/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mysqlclient/Pkgfile')
-rw-r--r--extra/mysqlclient/Pkgfile7
1 files changed, 3 insertions, 4 deletions
diff --git a/extra/mysqlclient/Pkgfile b/extra/mysqlclient/Pkgfile
index e7b23a6f4..0d55c748e 100644
--- a/extra/mysqlclient/Pkgfile
+++ b/extra/mysqlclient/Pkgfile
@@ -6,10 +6,9 @@
# Run on: libmysql
name=mysqlclient
-version=5.5.11
-#5.1.55
+version=5.5.14
release=1
-source=(http://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.5/mysql-$version.tar.gz \
+source=(http://mirror.switch.ch/mirror/mysql/Downloads/MySQL-${version%.*}/mysql-$version.tar.gz \
http://nutyx.meticul.eu/files/patchs/$name/mysql-fix-libs.patch)
build () {
@@ -23,7 +22,7 @@ build () {
cmake ../mysql-$version \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DMYSQL_DATADIR=/var/lib/mysql \
+ -DMYSQL_DATADIR=/srv/mysql \
-DSYSCONFDIR=/etc/mysql \
-DINSTALL_INFODIR=share/mysql/docs \
-DINSTALL_MANDIR=share/man \