Browse Source
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.emacs-27
Leonid Plyushch
6 years ago
21 changed files with 382 additions and 147 deletions
@ -1,7 +1,9 @@ |
|||||
termux_step_finish_build() { |
termux_step_finish_build() { |
||||
echo "termux - build of '$TERMUX_PKG_NAME' done" |
echo "termux - build of '$TERMUX_PKG_NAME' done" |
||||
test -t 1 && printf "\033]0;%s - DONE\007" "$TERMUX_PKG_NAME" |
test -t 1 && printf "\033]0;%s - DONE\007" "$TERMUX_PKG_NAME" |
||||
mkdir -p /data/data/.built-packages |
|
||||
echo "$TERMUX_PKG_FULLVERSION" > "/data/data/.built-packages/$TERMUX_PKG_NAME" |
mkdir -p "$TERMUX_BUILT_PACKAGES_DIRECTORY" |
||||
|
echo "$TERMUX_PKG_FULLVERSION" > "$TERMUX_BUILT_PACKAGES_DIRECTORY/$TERMUX_PKG_NAME" |
||||
|
|
||||
exit 0 |
exit 0 |
||||
} |
} |
||||
|
@ -0,0 +1,45 @@ |
|||||
|
#!/data/data/com.termux/files/usr/bin/sh |
||||
|
|
||||
|
PACKAGES="autoconf" |
||||
|
PACKAGES+=" automake" |
||||
|
PACKAGES+=" bc" |
||||
|
PACKAGES+=" bison" |
||||
|
PACKAGES+=" bzip2" |
||||
|
PACKAGES+=" clang" |
||||
|
PACKAGES+=" cmake" |
||||
|
PACKAGES+=" coreutils" |
||||
|
PACKAGES+=" curl" |
||||
|
PACKAGES+=" diffutils" |
||||
|
PACKAGES+=" ed" |
||||
|
PACKAGES+=" file" |
||||
|
PACKAGES+=" findutils" |
||||
|
PACKAGES+=" flex" |
||||
|
PACKAGES+=" gawk" |
||||
|
PACKAGES+=" gettext" |
||||
|
PACKAGES+=" git" |
||||
|
PACKAGES+=" golang" |
||||
|
PACKAGES+=" gperf" |
||||
|
PACKAGES+=" grep" |
||||
|
PACKAGES+=" gzip" |
||||
|
PACKAGES+=" libtool" |
||||
|
PACKAGES+=" lzip" |
||||
|
PACKAGES+=" lzop" |
||||
|
PACKAGES+=" m4" |
||||
|
PACKAGES+=" make" |
||||
|
PACKAGES+=" ninja" |
||||
|
PACKAGES+=" patch" |
||||
|
PACKAGES+=" perl" |
||||
|
PACKAGES+=" pkg-config" |
||||
|
PACKAGES+=" protobuf" |
||||
|
PACKAGES+=" python" |
||||
|
PACKAGES+=" python2" |
||||
|
PACKAGES+=" rust" |
||||
|
PACKAGES+=" sed" |
||||
|
PACKAGES+=" tar" |
||||
|
PACKAGES+=" texinfo" |
||||
|
PACKAGES+=" unzip" |
||||
|
PACKAGES+=" xz-utils" |
||||
|
|
||||
|
apt update |
||||
|
apt dist-upgrade -y |
||||
|
apt install -y $PACKAGES |
Loading…
Reference in new issue