1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-27 06:28:31 +00:00
Files
core/virtualization/Docker/scripts/ssocr
Martin Tremblay a3a702b269 Adding ssocr to docker to support Seven Segments Display (#8028)
* Adding ssocr to docker to support Seven Segments Display

* Adding cleanup
2017-06-15 20:31:30 -07:00

30 lines
531 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[@]}
# Clone the latest code from GitHub
git clone --depth 1 https://github.com/auerswal/ssocr.git /usr/local/src/ssocr
# Build ssocr
(
# Setup the build directory
cd /usr/local/src/ssocr
# compile the library
make
# Install the binaries/libraries to your local system (prefix is /usr/local)
make install
# Cleanup
make clean
)