build-package: mv termux_step_configure to scripts/build/configure/
This commit is contained in:
parent
9e04fe1434
commit
46f4e306fd
@ -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
|
||||
|
9
scripts/build/configure/termux_step_configure.sh
Normal file
9
scripts/build/configure/termux_step_configure.sh
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user