-
Notifications
You must be signed in to change notification settings - Fork 1
/
helpers.bash
117 lines (89 loc) · 2.99 KB
/
helpers.bash
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
msg_install -message "Installing all helper modules if needed..."
# Add a module which contains the default build tools
add_package -build generic -version 1.0 \
-package build-tools fake
pack_set -s $IS_MODULE
pack_set -module-name build-tools/1.0
pack_set -prefix $(build_get -installation-path[generic])/build-tools/1.0
pack_set -install-query $(pack_get -prefix)/bin
pack_set -command "mkdir -p $(pack_get -prefix)/bin/"
pack_set -module-opt "-set-ENV PKG_CONFIG=$(pack_get -prefix)/bin/pkg-config"
tmp=$(which pkg-config)
if [[ $? -eq 0 ]]; then
tmp=$(pkg-config --variable pc_path pkg-config)
if [[ -n "$tmp" ]]; then
pack_set -module-opt "-prepend-ENV PKG_CONFIG_PATH=$tmp"
fi
fi
source_pack helpers/zlib.bash
# These packages are installed in build-tools
source_pack helpers/help2man.bash
source_pack helpers/m4.bash
source_pack helpers/autoconf.bash
source_pack helpers/automake.bash
source_pack helpers/libtool.bash
source_pack helpers/pkgconfig.bash
# gnumake relies on libtool
source_pack helpers/gnumake.bash
source_pack helpers/texinfo.bash
# After all build-tools have been installed
source_pack helpers/binutils.bash
source_pack helpers/dejagnu.bash
source_pack helpers/ninja.bash
source_pack helpers/stow.bash
source_pack helpers/screen.bash
source_pack helpers/global.bash
# xdev (utilities)
source_pack helpers/imake.bash
source_pack helpers/makedepend.bash
source_pack helpers/ccache.bash
# Tools for performance analysis
source_pack helpers/unwind.bash
source_pack helpers/wxwidgets.bash
source_pack helpers/libpng.bash
source_pack helpers/libgd.bash
source_pack helpers/cmake-bt.bash
source_pack helpers/cmake.bash
source_pack helpers/freetype.bash
source_pack helpers/libunistring.bash
source_pack helpers/libffi.bash
# Install parallel binary
source_pack helpers/parallel.bash
# GPP
source_pack helpers/gpp.bash
# Build helpers
source_pack helpers/guile.bash
source_pack helpers/indent.bash
source_pack helpers/shtool.bash
source_pack helpers/bison.bash
source_pack helpers/flex.bash
source_pack helpers/pcre.bash
source_pack helpers/pcre2.bash
source_pack helpers/optipng.bash
source_pack helpers/openjpeg.bash
source_pack helpers/libxml2.bash
source_pack helpers/readline.bash
source_pack helpers/termcap.bash
source_pack helpers/openssl.bash
source_pack helpers/datamash.bash
source_pack helpers/libssh2.bash
source_pack helpers/libgit2.bash
source_pack helpers/curl.bash
# This will recreate the module with AC_LOCAL etc.
pack_set -installed $_I_TO_BE build-tools # Make sure it is "installed"
pack_install build-tools
source_pack helpers/numactl.bash
# Install git for those who want the newest release
source_pack helpers/git.bash
# Other helpers
source_pack helpers/doxygen.bash
source_pack helpers/ffmpeg.bash
source_pack helpers/gts.bash
source_pack helpers/graphviz.bash
source_pack helpers/sqlite.bash
source_pack helpers/boost.bash
source_pack helpers/swig.bash
source_pack helpers/bazel.bash
# Install all compilers
source compiler/compilers.bash
source helpers/default.bash