diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template index 92cc4f15772..8d9b0c42edd 100644 --- a/srcpkgs/mariadb/template +++ b/srcpkgs/mariadb/template @@ -1,7 +1,7 @@ # Template file for 'mariadb' pkgname=mariadb version=10.5.10 -revision=2 +revision=3 build_style=cmake build_helper=qemu configure_args="-DBUILD_CONFIG=mysql_release @@ -20,7 +20,7 @@ configure_args="-DBUILD_CONFIG=mysql_release hostmakedepends="bison perl flex pkg-config" makedepends="ncurses-devel gnutls-devel libaio-devel boost-devel pam-devel zlib-devel pcre2-devel libatomic-devel" -depends="mariadb-client" +depends="perl" checkdepends="perl" short_desc="Fast SQL database server, drop-in replacement for MySQL" maintainer="Justin Jagieniak " @@ -81,6 +81,7 @@ libmariadbclient_package() { vmove "usr/lib/libmariadb*.so.*" } } + libmariadbclient-devel_package() { depends="libmariadbclient>=${version}_${revision} libatomic-devel" provides="libmysqlclient-devel-${version}_${revision}" @@ -94,31 +95,13 @@ libmariadbclient-devel_package() { vmove "usr/lib/*.so" } } + mariadb-client_package() { - depends="perl" + build_style=meta + depends="mariadb" provides="mysql-client-${version}_${revision}" replaces="mysql-client>=0" - short_desc+=" - client binaries" - pkg_install() { - 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 ${DESTDIR}/usr/bin/${f} ]; then - vmove usr/bin/${f} - elif [ -f ${DESTDIR}/usr/sbin/${f} ]; then - vmove usr/sbin/${f} - fi - if [ -f ${DESTDIR}/usr/share/man/man1/${f}.1 ]; then - vmove usr/share/man/man1/${f}.1 - elif [ -f ${DESTDIR}/usr/share/man/man8/${f}.8 ]; then - vmove usr/share/man/man8/${f}.8 - fi - done - } + short_desc+=" - client binaries (transitional dummy package)" } libmysqlclient_package() {