#!/bin/bash -e

exit 0 # disabled temp

if [ "$BBN_KIND" == "LITE" ] ; then
  exit 0
fi

# https://github.com/dakk/gweatherrouting

apt-get -y install libeccodes0 libeccodes-tools libosmgpsmap-1.0-1 gir1.2-osmgpsmap-1.0

git clone -b gshhs2.3.6 https://github.com/dakk/gweatherrouting
cd gweatherrouting/
make -j 4 install
cd ..
rm -rf gweatherrouting/


install -v -m 0644 "$FILE_FOLDER"/gweatherrouting.desktop "/usr/local/share/applications/"

# Run using
# gweatherrouting
