Skip to content

Commit b730abb

Browse files
committed
build.sh: add deps-apk for alpine linux
1 parent 416f39c commit b730abb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,11 @@ install_deps_pkg() {
772772
sudo pkg install --yes bash git gmake gcc rlwrap ripgrep curl gmake x11-toolkits/gtk30 x11-toolkits/gtkglext pango cairo vim
773773
}
774774

775+
install_deps_apk() {
776+
sudo apk add --no-cache bash git make gcc g++ libc-dev pango-dev libx11-dev gtk+2.0-dev wget rlwrap clang tmux screen openssl-dev glu-dev mesa-dev
777+
check_ret sudo
778+
}
779+
775780

776781
install_deps_macos() {
777782
if test_program_installed git; then
@@ -792,6 +797,7 @@ usage() {
792797
$ECHO " deps-pacman - install required packages for Factor on Linux using pacman"
793798
$ECHO " deps-dnf - install required packages for Factor on Linux using dnf"
794799
$ECHO " deps-pkg - install required packages for Factor on FreeBSD using pkg"
800+
$ECHO " deps-apk - install required packages for Factor on Alpine Linux using apk"
795801
$ECHO " deps-macos - install git on macOS using port"
796802
$ECHO " info-boot-image - print remote and disk boot image MD5"
797803
$ECHO " info-check-factor-refresh-all-locally - check if local sources would cause refresh-all to change the image"
@@ -836,6 +842,7 @@ case "$1" in
836842
deps-macos) install_deps_macos ;;
837843
deps-dnf) install_deps_dnf ;;
838844
deps-pkg) install_deps_pkg ;;
845+
deps-apk) install_deps_apk ;;
839846
info-boot-image) info_boot_image ;;
840847
info-check-factor-refresh-all-locally) info_check_factor_refresh_all_locally ;;
841848
update-boot-image) find_build_info; check_installed_programs; update_boot_image ;;

0 commit comments

Comments
 (0)