#!/bin/sh # A script to download and build the libpifacedigital for PiFace # The library is located at github.com/piface # Since the PiFace library is GPLv3, we have to keep it separate. if [ ! -d "libmcp23s17" ] then git clone git@github.com:piface/libmcp23s17.git fi if [ ! -d "libpifacedigital" ] then git clone git@github.com:piface/libpifacedigital.git fi # Build the library make -C libmcp23s17 make -C libpifacedigital