2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-06-01 20:08:48 +02:00
|
|
|
#
|
2013-07-22 07:30:22 +02:00
|
|
|
# mysql_client
|
2008-06-01 20:08:48 +02:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-04-30 14:43:50 +02:00
|
|
|
|
2013-08-29 15:13:15 +02:00
|
|
|
MYSQL_CLIENT_VERSION = 5.1.70
|
2008-06-01 20:08:48 +02:00
|
|
|
MYSQL_CLIENT_SOURCE = mysql-$(MYSQL_CLIENT_VERSION).tar.gz
|
2012-04-30 14:43:50 +02:00
|
|
|
MYSQL_CLIENT_SITE = http://downloads.skysql.com/archives/mysql-5.1
|
2008-06-01 20:08:48 +02:00
|
|
|
MYSQL_CLIENT_INSTALL_STAGING = YES
|
2009-09-02 17:02:02 +02:00
|
|
|
MYSQL_CLIENT_DEPENDENCIES = readline ncurses
|
2012-12-28 04:05:54 +01:00
|
|
|
MYSQL_CLIENT_AUTORECONF = YES
|
|
|
|
MYSQL_CLIENT_LICENSE = GPLv2
|
|
|
|
MYSQL_CLIENT_LICENSE_FILES = README COPYING
|
2010-07-16 11:18:09 +02:00
|
|
|
|
|
|
|
MYSQL_CLIENT_CONF_ENV = \
|
|
|
|
ac_cv_sys_restartable_syscalls=yes \
|
|
|
|
ac_cv_path_PS=/bin/ps \
|
|
|
|
ac_cv_FIND_PROC="/bin/ps p \$\$PID | grep -v grep | grep mysqld > /dev/null" \
|
|
|
|
ac_cv_have_decl_HAVE_IB_ATOMIC_PTHREAD_T_GCC=yes \
|
|
|
|
ac_cv_have_decl_HAVE_IB_ATOMIC_PTHREAD_T_SOLARIS=no \
|
|
|
|
ac_cv_have_decl_HAVE_IB_GCC_ATOMIC_BUILTINS=yes \
|
|
|
|
mysql_cv_new_rl_interface=yes
|
2008-06-01 20:08:48 +02:00
|
|
|
|
|
|
|
MYSQL_CLIENT_CONF_OPT = \
|
|
|
|
--without-ndb-binlog \
|
|
|
|
--without-server \
|
|
|
|
--without-docs \
|
|
|
|
--without-man \
|
|
|
|
--without-libedit \
|
2010-07-16 11:18:09 +02:00
|
|
|
--without-readline \
|
2008-06-01 20:08:48 +02:00
|
|
|
--with-low-memory \
|
|
|
|
--enable-thread-safe-client \
|
|
|
|
$(ENABLE_DEBUG)
|
|
|
|
|
2010-09-01 20:50:52 +02:00
|
|
|
define MYSQL_CLIENT_REMOVE_TEST_PROGS
|
2009-01-29 22:33:32 +01:00
|
|
|
rm -rf $(TARGET_DIR)/usr/mysql-test $(TARGET_DIR)/usr/sql-bench
|
2010-09-01 20:50:52 +02:00
|
|
|
endef
|
|
|
|
|
2011-02-10 11:12:49 +01:00
|
|
|
define MYSQL_CLIENT_ADD_MYSQL_LIB_PATH
|
|
|
|
echo "/usr/lib/mysql" >> $(TARGET_DIR)/etc/ld.so.conf
|
|
|
|
endef
|
|
|
|
|
2010-09-01 20:50:52 +02:00
|
|
|
MYSQL_CLIENT_POST_INSTALL_TARGET_HOOKS += MYSQL_CLIENT_REMOVE_TEST_PROGS
|
2011-02-10 11:12:49 +01:00
|
|
|
MYSQL_CLIENT_POST_INSTALL_TARGET_HOOKS += MYSQL_CLIENT_ADD_MYSQL_LIB_PATH
|
2010-09-01 20:50:52 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|