SUMMARY="Device Firmware Upgrade Utilities" DESCRIPTION="dfu-util is a host side implementation of the DFU 1.0 and DFU 1.1 \ specifications of the USB forum. DFU is intended to download and upload \ firmware to/from devices connected over USB. It ranges from small devices like \ micro-controller boards to mobile phones. Using dfu-util you can download \ firmware to your DFU-enabled device or upload firmware from it. dfu-util has \ been tested with the Openmoko Neo1973 and Freerunner and many other devices." HOMEPAGE="http://dfu-util.sourceforge.net" COPYRIGHT="2010-2012 Stefan Schmidt" LICENSE="GNU GPL v2" REVISION="1" SOURCE_URI="${HOMEPAGE}/releases/dfu-util-$portVersion.tar.gz" CHECKSUM_SHA256="55cbde9be12a212bd84bce9d1e63941d9a16139ed0d4912401367eba1502f058" SOURCE_DIR="dfu-util-$portVersion" PATCHES="dfu_util-$portVersion.patchset" ARCHITECTURES="x86_gcc2" PROVIDES=" dfu_util = $portVersion cmd:dfu_suffix cmd:dfu_prefix cmd:dfu_util " REQUIRES=" haiku lib:libusb_1.0 " BUILD_REQUIRES=" devel:libusb_1.0 " BUILD_PREREQUIRES=" haiku_devel cmd:awk cmd:gcc cmd:make cmd:pkg_config$secondaryArchSuffix " BUILD() { CFLAGS=-D_BSD_SOURCE runConfigure ./configure make $jobArgs } INSTALL() { make install }