mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 01:41:37 +03:00
edd57d380d
- Fixes the IPC bug - Fixes the terminfo bug - Moves the OSX SDK out of our nixcrpkgs fork. - Vendor nixcrpkgs instead of having it be a submodule.
16 lines
314 B
Bash
16 lines
314 B
Bash
source $setup
|
|
|
|
tar -xf $src
|
|
mv libusbp-* libusbp
|
|
|
|
mkdir build
|
|
cd build
|
|
|
|
FLAGS="-std=gnu++11 $(pkg-config-cross --cflags --libs libusbp-1)"
|
|
|
|
$host-g++ ../libusbp/examples/lsusb/*.cpp -o lsusb$exe_suffix $FLAGS
|
|
$host-g++ ../libusbp/examples/lsport/*.cpp -o lsport$exe_suffix $FLAGS
|
|
|
|
mkdir -p $out/bin
|
|
cp * $out/bin/
|