2010-03-04 13:50:13 +01:00
|
|
|
# Template file for 'mysql-client'.
|
|
|
|
#
|
2012-08-06 07:21:26 +02:00
|
|
|
depends="perl"
|
2010-03-04 13:50:13 +01:00
|
|
|
short_desc="MySQL database client binaries"
|
|
|
|
long_desc="${long_desc}
|
|
|
|
|
|
|
|
This package includes the client binaries and the additional tools
|
|
|
|
innotop and mysqlreport."
|
|
|
|
|
2012-08-06 07:21:26 +02:00
|
|
|
do_install() {
|
2010-03-04 13:50:13 +01:00
|
|
|
for f in innochecksum innotop myisam_ftdump mysql mysql_client_test \
|
|
|
|
mysql_client_test_embedded mysqldumpslow mysqlbinlog \
|
|
|
|
mysql_find_rows mysql_fix_extensions mysql_waitpid mysqlaccess \
|
|
|
|
mysqladmin mysqlanalyze mysqlbug mysqlcheck mysqldump \
|
|
|
|
mysqlimport mysqloptimize mysqlrepair mysqlreport mysqlshow \
|
|
|
|
mysqlslap mysqltest_embedded mysqlmanager mysqltest \
|
|
|
|
mysqlhotcopy mysql_upgrade mysql_zap; do
|
|
|
|
if [ -f ${SRCPKGDESTDIR}/usr/bin/${f} ]; then
|
2012-08-06 07:21:26 +02:00
|
|
|
vmove usr/bin/${f} usr/bin
|
2010-03-04 13:50:13 +01:00
|
|
|
elif [ -f ${SRCPKGDESTDIR}/usr/sbin/${f} ]; then
|
2012-08-06 07:21:26 +02:00
|
|
|
vmove usr/sbin/${f} usr/sbin
|
2010-03-04 13:50:13 +01:00
|
|
|
fi
|
|
|
|
if [ -f ${SRCPKGDESTDIR}/usr/share/man/man1/${f}.1 ]; then
|
2012-08-06 07:21:26 +02:00
|
|
|
vmove usr/share/man/man1/${f}.1 usr/share/man/man1
|
2010-03-04 13:50:13 +01:00
|
|
|
elif [ -f ${SRCPKGDESTDIR}/usr/share/man/man8/${f}.8 ]; then
|
2012-08-06 07:21:26 +02:00
|
|
|
vmove usr/share/man/man8/${f}.8 usr/share/man/man8
|
2010-03-04 13:50:13 +01:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
}
|