Commit 7aa4b658 authored by Casey Strouse's avatar Casey Strouse Committed by GitHub

Add dfu_util package (#3980)

dfu-util is a tool for performing device firmware upgrades over USB.

Tested on ARM.
parent 54b391e3
require 'package'
class Dfu_util < Package
description 'DFU is intended to download and upload firmware to/from devices connected over USB.'
homepage 'http://dfu-util.gnumonks.org/'
version '0.9'
source_url 'http://dfu-util.sourceforge.net/releases/dfu-util-0.9.tar.gz'
source_sha256 '36428c6a6cb3088cad5a3592933385253da5f29f2effa61518ee5991ea38f833'
binary_url ({
})
binary_sha256 ({
})
depends_on 'libusb'
def self.build
system "./configure \
--prefix=#{CREW_PREFIX} \
--libdir=#{CREW_LIB_PREFIX}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment