Browse Source

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

android-5
Henrik Grimler 6 years ago
committed by Leonid Plyushch
parent
commit
a0fff6763b
  1. 14
      build-package.sh
  2. 12
      scripts/build/configure/termux_step_configure_meson.sh

14
build-package.sh

@ -81,18 +81,8 @@ source scripts/build/configure/termux_step_configure_autotools.sh
# Setup configure args and run cmake. This function is called from termux_step_configure # Setup configure args and run cmake. This function is called from termux_step_configure
source scripts/build/configure/termux_step_configure_cmake.sh source scripts/build/configure/termux_step_configure_cmake.sh
termux_step_configure_meson() { # Setup configure args and run meson. This function is called from termux_step_configure
termux_setup_meson source scripts/build/configure/termux_step_configure_meson.sh
CC=gcc CXX=g++ $TERMUX_MESON \
$TERMUX_PKG_SRCDIR \
$TERMUX_PKG_BUILDDIR \
--cross-file $TERMUX_MESON_CROSSFILE \
--prefix $TERMUX_PREFIX \
--libdir lib \
--buildtype minsize \
--strip \
$TERMUX_PKG_EXTRA_CONFIGURE_ARGS
}
termux_step_configure() { termux_step_configure() {
if [ "$TERMUX_PKG_FORCE_CMAKE" == 'no' ] && [ -f "$TERMUX_PKG_SRCDIR/configure" ]; then if [ "$TERMUX_PKG_FORCE_CMAKE" == 'no' ] && [ -f "$TERMUX_PKG_SRCDIR/configure" ]; then

12
scripts/build/configure/termux_step_configure_meson.sh

@ -0,0 +1,12 @@
termux_step_configure_meson() {
termux_setup_meson
CC=gcc CXX=g++ $TERMUX_MESON \
$TERMUX_PKG_SRCDIR \
$TERMUX_PKG_BUILDDIR \
--cross-file $TERMUX_MESON_CROSSFILE \
--prefix $TERMUX_PREFIX \
--libdir lib \
--buildtype minsize \
--strip \
$TERMUX_PKG_EXTRA_CONFIGURE_ARGS
}
Loading…
Cancel
Save