Files
zulip/scripts/lib/build-pgroonga
Anders Kaseorg 392175d6e8 Use #!/usr/bin/env for bash shebangs.
/bin/sh and /usr/bin/env are the only two binaries that NixOS provides
at a fixed path (outside a buildFHSUserEnv sandbox).

This discussion was split from #11004.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-12-17 17:21:08 -08:00

18 lines
364 B
Bash
Executable File

#!/usr/bin/env bash
set -x
set -e
PGROONGA_VERSION="2.1.6"
# Currently only tested for Fedora systems.
yum install -y groonga-devel msgpack-devel
cd "$(mktemp -d)"
wget https://packages.groonga.org/source/pgroonga/pgroonga-"$PGROONGA_VERSION".tar.gz
tar xvf pgroonga-"$PGROONGA_VERSION".tar.gz
cd pgroonga-"$PGROONGA_VERSION"
make HAVE_MSGPACK=1
make install