2020-05-18 13:16:50 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
# Minimal install
|
|
|
|
pkg install -y gmake cunit openssl git bash misc/e2fsprogs-libuuid python \
|
2021-07-12 09:58:11 +00:00
|
|
|
ncurses ninja meson
|
|
|
|
pkg install -g -y "py*-pyelftools-*" "py*-pandas"
|
2020-05-18 13:16:50 +00:00
|
|
|
# Additional dependencies for ISA-L used in compression
|
|
|
|
pkg install -y autoconf automake libtool help2man
|
|
|
|
if [[ $INSTALL_DEV_TOOLS == "true" ]]; then
|
|
|
|
# Tools for developers
|
2021-07-12 09:58:11 +00:00
|
|
|
pkg install -y devel/astyle bash \
|
2021-02-03 13:40:07 +00:00
|
|
|
misc/e2fsprogs-libuuid sysutils/sg3_utils nasm \
|
2021-08-10 12:00:42 +00:00
|
|
|
bash-completion ruby devel/ruby-gems
|
2021-07-12 09:58:11 +00:00
|
|
|
pkg install -g -y "py*-pycodestyle"
|
2021-08-12 08:57:43 +00:00
|
|
|
# ruby and ruby-gems are not preinstalled on FreeBSD but are needed to
|
|
|
|
# build mdl - make sure they are in place.
|
|
|
|
pkg install -y ruby devel/ruby-gems
|
2020-05-18 13:16:50 +00:00
|
|
|
fi
|
|
|
|
if [[ $INSTALL_DOCS == "true" ]]; then
|
|
|
|
# Additional dependencies for building docs
|
|
|
|
pkg install -y doxygen mscgen graphviz
|
|
|
|
fi
|
2020-09-11 11:26:27 +00:00
|
|
|
|
|
|
|
if [[ $INSTALL_LIBURING == "true" ]]; then
|
|
|
|
printf 'liburing is not supported on %s, disabling\n' \
|
|
|
|
"$(freebsd-version)"
|
|
|
|
INSTALL_LIBURING=false
|
|
|
|
fi
|