urbit/nix/nixcrpkgs/pkgs/fixesproto/builder.sh
benjamin-tlon edd57d380d
Finish cc-release cross-compilation. (#1202)
- 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.
2019-04-23 19:50:38 -07:00

17 lines
213 B
Bash

source $setup
cp -r $src src
chmod -R u+w src
cd src
autoreconf -v --install
cd ..
mkdir build
cd build
../src/configure --prefix=$out
make
make install
ln -sf $xextproto/lib/pkgconfig/*.pc $out/lib/pkgconfig