Files
haikuports/dev-embedded/teensy_loader_cli/teensy_loader_cli-2.1.202108.recipe
waddlesplash 4f180bdb94 Utilize the new "all" ARCHITECTURES keyword in most recipes. (#6189)
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has,
is transformed into "all", and then the other entries in ARCHITECTURES
either dropped or rearranged appropriately.
2021-09-15 15:40:18 -04:00

42 lines
990 B
Bash

SUMMARY="Command-line Teensy loader app"
DESCRIPTION="Application to load software on Teensy development boards."
HOMEPAGE="https://www.pjrc.com/teensy/loader_cli.html"
COPYRIGHT="2016 Paul Stoffregen"
LICENSE="GNU GPL v3"
SOURCE_URI="https://github.com/PaulStoffregen/teensy_loader_cli/archive/9dbbfa3b367b6c37e91e8a42dae3c6edfceccc4d.tar.gz"
CHECKSUM_SHA256="e4a20275102f311eea3138ff28dc6166f5ea4b9801cb7dd8dbd9ac7be5c0443d"
SOURCE_DIR="teensy_loader_cli-9dbbfa3b367b6c37e91e8a42dae3c6edfceccc4d"
REVISION="1"
ARCHITECTURES="?all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
teensy_loader_cli$secondaryArchSuffix = $portVersion
cmd:teensy_loader_cli
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libusb$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libusb$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc$secondaryArchSuffix
"
BUILD()
{
make $jobArgs
}
INSTALL()
{
mkdir -p $prefix/bin
cp teensy_loader_cli $prefix/bin
}