Leonid Plyushch
2942a4e139
fix for termux_create_subpackages.sh
5 years ago
Leonid Plyushch
45fc6e15e7
build-package.sh: fix detection of static libraries when creating subpackages
Now packages will be split if static libraries are located in subdirectory
of $PREFIX/lib.
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
d44a223686
build-package.sh: use globstar when splitting static libraries
Handle cases when static libraries located in subdirectory.
Enables support for globstar (example './**/*.a') pattern in subpackage
splitting.
6 years ago
Leonid Plyushch
21b96d3b41
no more develsplit + provide static libraries as separate package
%ci:no-build
6 years ago
Leonid Plyushch
fa69510c07
build-package.sh: allow to mark subpackages as essential
6 years ago
Leonid Plyushch
bfa7f2892d
termux_create_subpackages.sh: fix syntax errors
6 years ago
Tom Yan
5681fc51bc
build-package: fix subpackage-parent dependency
6 years ago
Leonid Plyushch
f1b6091f20
build-package.sh: don't write dependency list if empty
6 years ago
Leonid Plyushch
793e40e518
build-package.sh: fix situation where subpackage's dependency list is not written to metadata
6 years ago
Leonid Plyushch
2bdb3735b6
build-package.sh: break possible circular dependencies
6 years ago
Leonid Plyushch
0d1170cc22
build-package.sh: subpackages should depend on current version of the main
Avoid potential issues caused by version mismatch.
6 years ago
Tom Yan
60dc484806
build-package: fix conffiles for subpackages
conffiles was being created after control.tar.gz, which makes it
being omitted
6 years ago
Tom Yan
41b3d799bf
build-package: add TERMUX_PKG_DEVPACKAGE_{BREAKS,REPLACES} support
6 years ago
Henrik Grimler
ca3971841b
termux_create_subpackages: support TERMUX_SUBPKG_BREAKS
6 years ago
Henrik Grimler
9dece59651
build-package: mv code for creating subpackages to new file
6 years ago
Henrik Grimler
eaf8f81973
build-package: mv termux_step_massage to scripts/build/
6 years ago