shrub/nix/nixcrpkgs/pkgs/libusbp/license_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

21 lines
267 B
Bash

source $setup
tar -xf $src
mv libusbp-* libusbp
license=$(cat libusbp/LICENSE.txt)
{
cat > $out <<EOF
<h2>Pololu USB library (libusbp)</h2>
<p>
The Pololu USB Library (libusbp) is licensed under the following license:
</p>
<pre>
$license
</pre>
EOF
} > $out