summaryrefslogtreecommitdiffstats
path: root/extra/mysql/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-08-21 13:07:48 +0200
committertnut <tnut at nutyx dot com>2011-08-21 13:07:48 +0200
commitfd654eaf77adf89164ce30825989286240fc3c4e (patch)
tree742d2c2a8c48ac8aad42915e91032f29ee832919 /extra/mysql/Pkgfile
parenteb21f8e3b422bc29a06adb9b7a0b8f799fdd408e (diff)
downloadnutyx-pakxe-fd654eaf77adf89164ce30825989286240fc3c4e.tar.gz
nutyx-pakxe-fd654eaf77adf89164ce30825989286240fc3c4e.tar.bz2
nutyx-pakxe-fd654eaf77adf89164ce30825989286240fc3c4e.tar.xz
nutyx-pakxe-fd654eaf77adf89164ce30825989286240fc3c4e.zip
mysql, amélioration README et ptite correction Pkgfile
Diffstat (limited to 'extra/mysql/Pkgfile')
-rw-r--r--extra/mysql/Pkgfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/extra/mysql/Pkgfile b/extra/mysql/Pkgfile
index f1d940096..df14c58c2 100644
--- a/extra/mysql/Pkgfile
+++ b/extra/mysql/Pkgfile
@@ -8,7 +8,7 @@ source /etc/blfs-bootscripts
name=mysql
version=5.5.15
-release=1
+release=2
source=(http://mirror.switch.ch/mirror/mysql/Downloads/MySQL-${version%.*}/$name-$version.tar.gz
http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2)
@@ -25,7 +25,7 @@ build () {
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc/mysql \
-DMYSQL_DATADIR=/srv/mysql \
- -DMYSQL_UNIX_ADDR=/var/run/mysqld/mysqld.sock \
+ -DMYSQL_UNIX_ADDR=/var/run/mysql/mysql.sock \
-DINSTALL_INFODIR=share/mysql/docs \
-DINSTALL_MANDIR=share/man \
-DINSTALL_PLUGINDIR=/usr/lib/mysql/plugin \
@@ -71,6 +71,7 @@ build () {
rm -r $PKG/usr/docs
install -d $PKG/srv/mysql
cp -r $PKG/usr/data/* $PKG/srv/mysql/
+ rm -r $PKG/usr/data
chmod -R 700 $PKG/srv/mysql
mkdir -p $PKG/etc