2008-06-01 20:08:48 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# MySQL 5.1 Client
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
MYSQL_CLIENT_VERSION = 5.1.23-rc
|
|
|
|
MYSQL_CLIENT_SOURCE = mysql-$(MYSQL_CLIENT_VERSION).tar.gz
|
|
|
|
MYSQL_CLIENT_SITE = http://mirrors.24-7-solutions.net/pub/mysql/Downloads/MySQL-5.1
|
|
|
|
MYSQL_CLIENT_INSTALL_TARGET = YES
|
|
|
|
MYSQL_CLIENT_INSTALL_STAGING = YES
|
2009-09-02 17:02:02 +02:00
|
|
|
MYSQL_CLIENT_DEPENDENCIES = readline ncurses
|
2008-06-01 20:08:48 +02:00
|
|
|
|
|
|
|
MYSQL_CLIENT_CONF_ENV = ac_cv_sys_restartable_syscalls=yes
|
|
|
|
MYSQL_CLIENT_CONF_OPT = \
|
|
|
|
--program-prefix="" \
|
|
|
|
--without-ndb-binlog \
|
|
|
|
--without-server \
|
|
|
|
--without-docs \
|
|
|
|
--without-man \
|
|
|
|
--without-readline \
|
|
|
|
--without-libedit \
|
2009-01-26 06:51:31 +01:00
|
|
|
--with-readline=$(STAGING_DIR)/usr \
|
2008-06-01 20:08:48 +02:00
|
|
|
--with-low-memory \
|
|
|
|
--enable-thread-safe-client \
|
|
|
|
$(ENABLE_DEBUG)
|
|
|
|
|
2008-09-07 16:31:36 +02:00
|
|
|
$(eval $(call AUTOTARGETS,package/database,mysql_client))
|
2009-01-29 22:33:32 +01:00
|
|
|
|
|
|
|
$(MYSQL_CLIENT_HOOK_POST_INSTALL):
|
|
|
|
rm -rf $(TARGET_DIR)/usr/mysql-test $(TARGET_DIR)/usr/sql-bench
|
|
|
|
touch $@
|