wok-current rev 10379
mysql: can't cross (use native)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 23 15:26:14 2011 +0200 (2011-05-23) |
parents | 36bd6d3d2b60 |
children | bce457eab527 |
files | mysql/receipt |
line diff
1.1 --- a/mysql/receipt Mon May 23 13:02:00 2011 +0200 1.2 +++ b/mysql/receipt Mon May 23 15:26:14 2011 +0200 1.3 @@ -12,6 +12,7 @@ 1.4 gcc-lib-base" 1.5 CONFIG_FILES="/etc/mysql/my.cnf" 1.6 DATABASE_FILES="/var/lib/mysql" 1.7 +CROSS="bug: can not run test programm" 1.8 1.9 # Rules to configure and make the package. 1.10 compile_rules() 1.11 @@ -20,16 +21,22 @@ 1.12 cd $src 1.13 grep -q skip_do_abi_check Makefile.am || 1.14 sed -i 's/^do_abi_check/&:\n\techo "Skipping &"\n\nreally_&/' Makefile.* 1.15 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.16 - --datadir=/usr/share --localstatedir=/var/lib/mysql \ 1.17 - --sysconfdir=/etc/mysql --libexecdir=/usr/sbin \ 1.18 + ./configure \ 1.19 + --prefix=/usr \ 1.20 + --infodir=/usr/share/info \ 1.21 + --datadir=/usr/share \ 1.22 + --localstatedir=/var/lib/mysql \ 1.23 + --sysconfdir=/etc/mysql \ 1.24 + --libexecdir=/usr/sbin \ 1.25 --with-unix-socket-path=/var/run/mysqld/mysqld.sock \ 1.26 --with-mysqld-user=mysql \ 1.27 --enable-thread-safe-client \ 1.28 --with-plugins=innobase,innodb_plugin \ 1.29 - --mandir=/usr/share/man $CONFIGURE_ARGS && 1.30 + --mandir=/usr/share/man \ 1.31 + --build=$HOST_SYSTEM 1.32 + --host=$HOST_SYSTEM && 1.33 make -j 4 && 1.34 - make DESTDIR=$PWD/_pkg install 1.35 + make DESTDIR=$DESTDIR install 1.36 } 1.37 1.38 # Rules to gen a SliTaz package suitable for Tazpkg.