Browse Source
mariadb: fix deletion of unneeded files
Do this with TERMUX_PKG_RM_AFTER_INSTALL instead of
post-make-install step.
master
Leonid Pliushch
5 years ago
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with
7 additions and
8 deletions
-
packages/mariadb/build.sh
|
@ -52,10 +52,15 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" |
|
|
-DWITH_UNIT_TESTS=OFF |
|
|
-DWITH_UNIT_TESTS=OFF |
|
|
-DINSTALL_SYSCONFDIR=$TERMUX_PREFIX/etc |
|
|
-DINSTALL_SYSCONFDIR=$TERMUX_PREFIX/etc |
|
|
" |
|
|
" |
|
|
|
|
|
|
|
|
TERMUX_PKG_HOSTBUILD=true |
|
|
TERMUX_PKG_HOSTBUILD=true |
|
|
TERMUX_PKG_CONFLICTS="mysql" |
|
|
TERMUX_PKG_CONFLICTS="mysql" |
|
|
TERMUX_PKG_RM_AFTER_INSTALL="bin/mysqltest*" |
|
|
|
|
|
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL=" |
|
|
|
|
|
bin/mysqltest* |
|
|
|
|
|
share/man/man1/mysql-test-run.pl.1 |
|
|
|
|
|
mysql-test |
|
|
|
|
|
sql-bench |
|
|
|
|
|
" |
|
|
|
|
|
|
|
|
# i686 build fails due to: |
|
|
# i686 build fails due to: |
|
|
# /home/builder/.termux-build/mariadb/src/include/my_pthread.h:822:10: error: use of undeclared identifier 'my_atomic_add32' |
|
|
# /home/builder/.termux-build/mariadb/src/include/my_pthread.h:822:10: error: use of undeclared identifier 'my_atomic_add32' |
|
@ -90,12 +95,6 @@ termux_step_pre_configure() { |
|
|
fi |
|
|
fi |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
termux_step_post_make_install() { |
|
|
|
|
|
# files not needed |
|
|
|
|
|
rm -r $TERMUX_PREFIX/{mysql-test,sql-bench} |
|
|
|
|
|
rm $TERMUX_PREFIX/share/man/man1/mysql-test-run.pl.1 |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
termux_step_post_massage() { |
|
|
termux_step_post_massage() { |
|
|
mkdir -p $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/etc/my.cnf.d |
|
|
mkdir -p $TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX/etc/my.cnf.d |
|
|
} |
|
|
} |
|
|