summaryrefslogtreecommitdiffstats
path: root/extra/mysql/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mysql/Pkgfile')
-rw-r--r--extra/mysql/Pkgfile13
1 files changed, 6 insertions, 7 deletions
diff --git a/extra/mysql/Pkgfile b/extra/mysql/Pkgfile
index 8500cabcd..3e4e1460d 100644
--- a/extra/mysql/Pkgfile
+++ b/extra/mysql/Pkgfile
@@ -6,10 +6,9 @@
# Run on: mysqlclient
name=mysql
-version=5.5.11
-#5.1.55
+version=5.5.14
release=1
-source=(http://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.5/$name-$version.tar.gz)
+source=(http://mirror.switch.ch/mirror/mysql/Downloads/MySQL-${version%.*}/$name-$version.tar.gz)
build () {
source /etc/blfs-bootscripts
@@ -26,7 +25,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 \
@@ -77,9 +76,9 @@ build () {
# These shouldn't be here
rm -r $PKG/usr/docs
- install -d $PKG/var/lib/mysql
- cp -r $PKG/usr/data/* $PKG/var/lib/mysql/
- chmod -R 700 $PKG/var/lib/mysql
+ install -d $PKG/srv/mysql
+ cp -r $PKG/usr/data/* $PKG/srv/mysql/
+ chmod -R 700 $PKG/srv/mysql
# cd $name-$version
# libtoolize --force