#!/usr/bin/env bash
set -x
set -e

PGROONGA_VERSION="2.2.3"

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
