-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackages.sh
More file actions
98 lines (84 loc) · 1.64 KB
/
packages.sh
File metadata and controls
98 lines (84 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#!/usr/bin/env bash
# Base packages, common for both debug and release builds
declare -a COTG_PACKAGES__BASE
# These are the variant-specific additional packages
# that are included in bootstrap archives
declare -a COTG_PACKAGES__DEBUG
declare -a COTG_PACKAGES__RELEASE
# List of all packages
# This is used to list all the packages
# that we need to build
declare -a COTG_PACKAGES
COTG_PACKAGES__BASE=(
## ---- Bootstrap packages ---- ##
# Core utilities.
"apt"
"bash"
"coreutils"
"dash"
"diffutils"
"findutils"
"gawk"
"grep"
"gzip"
"less"
"libbz2"
"procps"
"psmisc"
"sed"
"tar"
"termux-core"
"termux-exec"
"termux-keyring"
"termux-tools"
"util-linux"
# Additional.
"brotli"
"ed"
"debianutils"
"dos2unix"
"git"
"inetutils"
"lsof"
"mandoc"
"nano"
"net-tools"
"openjdk-21"
"patch"
"unzip"
"zip"
)
# debug-only packages
COTG_PACKAGES__DEBUG=(
"binutils-libs"
"coreutils"
"file"
"libsqlite"
"python"
"python-pip"
"vim"
"wget"
"which"
)
# release-only packages
COTG_PACKAGES__RELEASE=()
# All packages
COTG_PACKAGES=(
"${COTG_PACKAGES__BASE[@]}"
"${COTG_PACKAGES__DEBUG[@]}"
"${COTG_PACKAGES__RELEASE[@]}"
)
# Extra packages that need to be available
# for use in Code On the Go
# Note: When adding new packages here,
# mention the reason for inclusion
COTG_PACKAGES+=(
# Required for self-bootstrapping Code On the Go
"libprotobuf"
# Commonly used tools
"wget"
# cmake and libllvm for Android
# useful for Android SDK
"cmake"
"libllvm"
)