Commit Graph

5 Commits

Author SHA1 Message Date
Tee KOBAYASHI 07d9bba56a
build-package: Apply `$PREFIX/bin/sh` hack appropriately 2022-04-13 09:03:16 +02:00
Henrik Grimler 7502d684d8
build-package: create $PREFIX/bin/sh->/bin/sh symlink later
We need to run it after termux_step_get_dependencies, or else the
symlink might be overridden if dash is a dependency, since it contains
a sh->dash symlink.

termux_step_override_config_scripts is run right after
termux_step_get_dependencies, and feels seems like a logical place to
create the symlink (since symlink is used to make config scripts
executable).
2022-03-13 13:58:37 +01:00
Henrik Grimler 75edafa904
postgresql: add pg_config shell script
Can be used for packages that depend on postgresql and that tries to
run pg_config during build.
2021-12-05 13:19:49 +01:00
Henrik Grimler a5cf5ef9d5
termux_step_override_config_scripts: don't run on device 2021-12-05 13:18:27 +01:00
Henrik Grimler 26da480d36 build-package: mv code for creating llvm-config
After https://github.com/termux/termux-packages/commit/e34ae5da030d,
llvm-config was created before termux_step_get_dependencies, meaning
that it gets overwritten if libllvm is installed.

Fix this by creating llvm-config in a new function
termux_step_override_config_scripts, that is run right after
termux_step_get_dependencies.
2021-09-17 12:02:53 +02:00