Files
haikuports/dev-embedded/dfu-programmer/dfu_programmer-0.6.2.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00

59 lines
1.7 KiB
Bash

SUMMARY="A Device Firmware Update based USB programmer for Atmel chips"
DESCRIPTION="dfu-programmer is an implementation of the Device Firmware \
Upgrade class USB driver that enables firmware upgrades for various USB \
enabled (with the correct bootloader) Atmel chips. This program was created \
because the Atmel "FLIP" program for flashing devices does not support \
flashing via USB on Linux, and because standard DFU loaders do not work for \
Atmel's chips.
Check out the Atmel website for more information. They are kind enough to \
provide generally correct specifications this implementation is based on.
The project website is http://dfu-programmer.sourceforge.net and you can use \
that to check for updates."
HOMEPAGE="http://dfu-programmer.sourceforge.net"
COPYRIGHT="Weston Schmidt"
LICENSE="GNU GPL v2"
REVISION="3"
SOURCE_URI="http://downloads.sourceforge.net/project/dfu-programmer/dfu-programmer/$portVersion/dfu-programmer-$portVersion.tar.gz"
SOURCE_DIR="dfu-programmer-$portVersion"
CHECKSUM_SHA256="0120966a424dd98124962055750e90cbd6c7b6b0fbf5b187bf435daa0a24af65"
PATCHES="dfu-programmer-$portVersion.patch"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
dfu_programmer = $portVersion
cmd:dfu_programmer$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libusb_1.0$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libusb_1.0$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:automake
cmd:autoconf
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
sh ./bootstrap.sh
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}