build-package: mv termux_step_configure to scripts/build/configure/

This commit is contained in:
Henrik Grimler 2019-02-27 19:49:12 +01:00 committed by Leonid Pliushch
parent 9e04fe1434
commit 46f4e306fd
2 changed files with 11 additions and 9 deletions

View File

@ -84,15 +84,8 @@ source scripts/build/configure/termux_step_configure_cmake.sh
# Setup configure args and run meson. This function is called from termux_step_configure
source scripts/build/configure/termux_step_configure_meson.sh
termux_step_configure() {
if [ "$TERMUX_PKG_FORCE_CMAKE" == 'no' ] && [ -f "$TERMUX_PKG_SRCDIR/configure" ]; then
termux_step_configure_autotools
elif [ -f "$TERMUX_PKG_SRCDIR/CMakeLists.txt" ]; then
termux_step_configure_cmake
elif [ -f "$TERMUX_PKG_SRCDIR/meson.build" ]; then
termux_step_configure_meson
fi
}
# Configure the package
source scripts/build/configure/termux_step_configure.sh
termux_step_post_configure() {
return

View File

@ -0,0 +1,9 @@
termux_step_configure() {
if [ "$TERMUX_PKG_FORCE_CMAKE" == 'no' ] && [ -f "$TERMUX_PKG_SRCDIR/configure" ]; then
termux_step_configure_autotools
elif [ -f "$TERMUX_PKG_SRCDIR/CMakeLists.txt" ]; then
termux_step_configure_cmake
elif [ -f "$TERMUX_PKG_SRCDIR/meson.build" ]; then
termux_step_configure_meson
fi
}