New package: teensy_loader_cli-2.1

This commit is contained in:
Dominic Monroe 2017-07-31 21:27:34 +01:00 committed by Toyam Cox
parent 949dba7f99
commit dfb71e3f6b
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,13 @@
diff --git Makefile Makefile
index 8bbf28f..f9d6b9d 100644
--- Makefile
+++ Makefile
@@ -12,7 +12,7 @@ ifeq ($(OS), LINUX) # also works on FreeBSD
CC ?= gcc
CFLAGS ?= -O2 -Wall
teensy_loader_cli: teensy_loader_cli.c
- $(CC) $(CFLAGS) -s -DUSE_LIBUSB -o teensy_loader_cli teensy_loader_cli.c -lusb
+ $(CC) $(LDFLAGS) $(CFLAGS) -s -DUSE_LIBUSB -o teensy_loader_cli teensy_loader_cli.c -lusb
else ifeq ($(OS), WINDOWS)

View File

@ -0,0 +1,17 @@
# Template file for 'teensy_loader_cli'
pkgname=teensy_loader_cli
version=2.1
revision=1
build_style=gnu-makefile
make_build_target=teensy_loader_cli
makedepends="libusb-compat-devel"
short_desc="Command line Teensy Loader"
maintainer="Dominic Monroe <monroef4@googlemail.com>"
license="GPL-3"
homepage="http://www.pjrc.com/teensy/loader_cli.html"
distfiles="https://github.com/PaulStoffregen/teensy_loader_cli/archive/${version}.tar.gz"
checksum=5c36fe45b9a3a71ac38848b076cd692bf7ca8826a69941c249daac3a1d95e388
do_install() {
vbin teensy_loader_cli
}