Leonid Plyushch
147d317e26
build-package.sh: use absolute paths when sourcing parts from scripts/build/
+ some fixes for shellcheck.
5 years ago
Leonid Plyushch
dcee9ce9d9
build-package.sh: allow script to be called from any directory
5 years ago
Leonid Plyushch
91657e90bb
build-package.sh: more fixes
5 years ago
Leonid Plyushch
6267a318aa
build-package.sh: use text-based comparsion in conditionals instead of exit-code based
5 years ago
Leonid Plyushch
d111f5bf74
packages: standardize values of several control variables for build.sh
Variables
TERMUX_PKG_PLATFORM_INDEPENDENT
TERMUX_DEBUG
TERMUX_PKG_HAS_DEBUG
TERMUX_PKG_ESSENTIAL
TERMUX_SUBPKG_ESSENTIAL
TERMUX_PKG_NO_STATICSPLIT
TERMUX_PKG_BUILD_IN_SRC
TERMUX_PKG_FORCE_CMAKE
TERMUX_PKG_HOSTBUILD
should not accept arbitrary values for marking them "enabled". Instead
they should accept boolean values which makes them easier to handle and
also makes their meaning clear.
build-package.sh should make decision based on variable's value but not on
whether it is set or empty.
%ci:no-build
5 years ago
Leonid Plyushch
88cc360984
build-package.sh: for on-device builds value of TERMUX_ARCH should not be overridable
This should be allowed only when cross-compiling.
5 years ago
Leonid Plyushch
25955f9df5
build-package.sh: source properties.sh before handling command line arguments
Fixes problem when it is not possible to override TERMUX_ARCH set in ~/.termuxrc.
5 years ago
Leonid Plyushch
0d2f6e446f
enable on-device builds
Partial compatibility for on-device builds.
There is no guarantee that it will be possible to build all available
packages and built packages will have same reliability that cross-compiled
but should solve "self-hosting" problems as much as possible.
5 years ago
Leonid Plyushch
9d743e2a27
build-package.sh: allow to build multiple packages at one time
Support for call syntax:
./build-package.sh pkg1 pkg2 pkg3 ...
6 years ago
Henrik Grimler
b6effe8f21
build-package: termux_step_license->termux_step_instalL_license
6 years ago
Henrik Grimler
4f64a2ae59
build-package: install licenses to $PREFIX/share/$PKG/LICENSE
6 years ago
Fredrik Fornwall
4e57f3540c
protobuf: Update from 3.6.1 to 3.7.1
6 years ago
Leonid Plyushch
a72bd14335
build-package.sh: make sure that termux_error_exit() is defined before throwing any errors
6 years ago
Leonid Plyushch
0c4fbc364e
build-package.sh: fix printing of error message when trying to run script on Android device
6 years ago
Henrik Grimler
9dece59651
build-package: mv code for creating subpackages to new file
6 years ago
Leonid Plyushch
28f3fbe1bc
build-package.sh: prevent parallel runs in the same environment
Avoid corruption of the build environment if build-package.sh was
executed in 2 parallel sessions.
6 years ago
Leonid Plyushch
aa3bca1c11
build-package.sh: fix sourcing of renamed script
6 years ago
Henrik Grimler
a1601b739b
build-package: call termux_get_repo_files in termux_step start_build
Prevents unnecessary re-downloads of repo files.
6 years ago
Henrik Grimler
5873ff8750
build-package: remove termux_step_compare_debs
6 years ago
Henrik Grimler
849bfda557
build-package.sh: add short descriptions for package hooks
6 years ago
Henrik Grimler
537071c99f
build-package: mv termux_step_finish_build to scripts/build/
6 years ago
Henrik Grimler
95ee844cfe
build-package: mv termux_step_compare_debs to scripts/build/
6 years ago
Henrik Grimler
07ac40da1e
build-package: mv termux_step_create_debfile to scripts/build/
6 years ago
Henrik Grimler
1791646f58
build-package: mv termux_step_create_datatar to scripts/build/
6 years ago
Henrik Grimler
eaf8f81973
build-package: mv termux_step_massage to scripts/build/
6 years ago
Henrik Grimler
267962c93b
build-package: mv termux_step_extract_into_massagedir to scripts/build/
6 years ago
Henrik Grimler
70afa65d4d
build-package: mv termux_step_make_install to scripts/build/
6 years ago
Henrik Grimler
00d6e0c282
build-package: mv termux_step_make to scripts/build/
6 years ago
Henrik Grimler
92688d5464
build-package: mv termux_step_configure to scripts/build/configure/
6 years ago
Henrik Grimler
a0fff6763b
build-package: mv termux_step_configure_meson to scripts/build/configure/
6 years ago
Henrik Grimler
b4ed937099
build-package: mv termux_step_configure_cmake to scripts/build/configure/
6 years ago
Henrik Grimler
fed060b5b7
build-package: mv termux_step_configure_autotools to scripts/build/configure/
6 years ago
Henrik Grimler
8e759381d2
build-package: mv termux_step_replace_guess_scripts to scripts/build
6 years ago
Henrik Grimler
f445a43da1
build-package: mv termux_step_patch_package to scripts/build/
6 years ago
Henrik Grimler
e6097e6cf6
build-package: mv termux_step_setup_toolchain to scripts/build/
6 years ago
Henrik Grimler
6f2c26696f
build-package: mv termux_step_extract_package to scripts/build/
6 years ago
Henrik Grimler
fd61b679dd
build-package: mv termux_step_start_build to scripts/build/
6 years ago
Henrik Grimler
07f4d72b3c
build-package: mv termux_step_get_repo_files to scripts/build/
6 years ago
Henrik Grimler
6986e817fb
build-package: mv termux_download_deb to scripts/build/
6 years ago
Henrik Grimler
2b415feba0
build-package: mv termux_extract_dep_info to scripts/build/
6 years ago
Henrik Grimler
ecb71352b4
build-package: mv termux_step_handle_buildarch to scripts/build/
6 years ago
Henrik Grimler
bea56b4b8b
build-package: mv termux_setup_variables to scripts/build/
6 years ago
Henrik Grimler
5a6f9fdb91
build-package: mv termux_step_handle_arguments to scripts/build/
6 years ago
Henrik Grimler
d280fd8827
build-package: mv termux_setup_cmake to scripts/build/setup
6 years ago
Henrik Grimler
9571b1c49a
build-package: mv termux_setup_meson to scripts/build/setup
6 years ago
Henrik Grimler
b1b18b2ac5
build-package: mv termux_setup_ninja to scripts/build/setup
6 years ago
Henrik Grimler
02edde0f7f
build-package: mv termux_setup_rust to scripts/build/setup
6 years ago
Henrik Grimler
e5556053c7
build-package: mv termux_setup_golang to scripts/build/setup
6 years ago
Henrik Grimler
07abb67cd4
build-package: mv termux_download to scripts/build/
6 years ago
Henrik Grimler
54c0441fb0
build-package: mv termux_step_host_build to scripts/build/
6 years ago