Files
haikuports/dev-embedded/lm4tools/lm4tools-0.1.3.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

49 lines
1.2 KiB
Bash

SUMMARY="Tools to enable multi-platform development on TI Stellaris Launchpads"
DESCRIPTION="Some tools which enable multi-platform development on the TI \
Stellaris Launchpad boards. The Stellaris Launchpad is a low cost development \
board created by Texas Instruments that comes with an ARM Cortex-M4F processor."
HOMEPAGE="https://github.com/utzig/lm4tools"
COPYRIGHT="2012 Fabio Utzig
2012 Peter Stuge"
LICENSE="GNU GPL v2"
REVISION="3"
SOURCE_URI="https://github.com/utzig/lm4tools/archive/1cfd813779b9eb717b15b0a1814bde8338899ff9.tar.gz"
CHECKSUM_SHA256="cd28b701384f00affe6aad2f3addcd54ca167737004c4f8926304627816c42d6"
SOURCE_DIR="lm4tools-1cfd813779b9eb717b15b0a1814bde8338899ff9"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
lm4tools$secondaryArchSuffix = $portVersion
cmd:lm4flash$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libusb_1.0$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libusb_1.0$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
cd lm4flash
make $jobArgs
}
INSTALL()
{
cd lm4flash
mkdir -p $binDir
cp lm4flash $binDir
}