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
|
# Setup configure args and run meson. This function is called from termux_step_configure
|
||||||
source scripts/build/configure/termux_step_configure_meson.sh
|
source scripts/build/configure/termux_step_configure_meson.sh
|
||||||
|
|
||||||
termux_step_configure() {
|
# Configure the package
|
||||||
if [ "$TERMUX_PKG_FORCE_CMAKE" == 'no' ] && [ -f "$TERMUX_PKG_SRCDIR/configure" ]; then
|
source scripts/build/configure/termux_step_configure.sh
|
||||||
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
|
|
||||||
}
|
|
||||||
|
|
||||||
termux_step_post_configure() {
|
termux_step_post_configure() {
|
||||||
return
|
return
|
||||||
|
|
|
@ -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