shrub/nix/nixcrpkgs/pkgs/tic/builder.sh

16 lines
181 B
Bash
Raw Normal View History

source $setup
tar -xf $src
mv pololu-tic-software-* tic
mkdir build
cd build
cmake-cross ../tic \
-DCMAKE_INSTALL_PREFIX=$out \
-DBUILD_SHARED_LIBS=false
make
make install