# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0

name                dfu-util
version             0.11
categories          cross devel
platforms           darwin
maintainers         gmail.com:benoit.triquet {ijackson @JacksonIsaac} openmaintainer
license             GPL-2+

description         Device firmware update (DFU) USB programmer

long_description    dfu-util is the 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 devices connected over USB. It ranges from small devices like micro-controller boards up 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/
master_sites        ${homepage}releases/

checksums           rmd160  9b6fac894eb7eccdbc55b8712c8ecf1f0fb7859a \
                    sha256  b4b53ba21a82ef7e3d4c47df2952adf5fa494f499b6b0b57c58c5d04ae8ff19e \
                    size    152462

depends_build       port:pkgconfig

depends_lib         path:lib/pkgconfig/libusb-1.0.pc:libusb
