hass-core/virtualization/Docker/scripts/ssocr
2017-06-30 08:07:33 -07:00

24 lines
No EOL
461 B
Bash
Executable file

#!/bin/bash
# Sets up ssocr to support Seven Segments Display.
# Stop on errors
set -e
PACKAGES=(
libimlib2 libimlib2-dev
)
apt-get install -y --no-install-recommends ${PACKAGES[@]}
cd /usr/src/app/
mkdir -p build && cd build
# Clone the latest code from GitHub
git clone --depth 1 https://github.com/auerswal/ssocr.git ssocr
cd ssocr/
# Compile the library
make
# Install the binaries/libraries to your local system (prefix is /usr/local)
make install