1 # Copyright © 2020 Nick Bowler
2 # License GPLv3+: GNU General Public License version 3 or any later version.
3 # This is free software: you are free to change and redistribute it.
4 # There is NO WARRANTY, to the extent permitted by law.
8 inherit toolchain-funcs
10 DESCRIPTION="Command-line program loader for Teensy"
11 HOMEPAGE="https://www.pjrc.com/teensy/loader_cli.html"
12 SRC_URI="https://github.com/PaulStoffregen/$PN/archive/$PV.tar.gz -> $P.tar.gz"
16 KEYWORDS="~amd64 ~x86"
19 DEPEND="virtual/libusb:0"
23 emake CC="$(tc-getCC)" CFLAGS="$LDFLAGS $CFLAGS"
27 dobin teensy_loader_cli
30 docompress -x "/usr/share/doc/$PF/examples"