Files
haikuports/dev-embedded/lm4tools/lm4tools-0.1.3.recipe
Augustin Cavalier 55dd9cf19d Rewrite ARCHITECTURES syntax to new HaikuPorter changes.
HaikuPorter now does not care what is in ARCHITECTURES when
building for a SECONDARY_ARCHITECTURE.
2015-08-04 12:00:38 -04:00

49 lines
1.1 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"
LICENSE="GNU GPL v2"
REVISION="1"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
SOURCE_URI="git+https://github.com/utzig/lm4tools.git#1cfd813779b9eb717b15b0a1814bde8338899ff9"
COPYRIGHT="
2012 Fabio Utzig
2012 Peter Stuge
"
PROVIDES="
lm4tools = $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
}