noddos: Noddos v0.5.0 with mDNS / DNS-SD support
[feed/packages.git] / utils / dfu-util / Makefile
1 #
2 # Copyright (C) 2017 Bruno Randolf (br1@einfach.org)
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=dfu-util
11 PKG_VERSION:=0.9
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/$(PKG_NAME)/files/
16 PKG_MD5SUM:=233bb1e08ef4b405062445d84e28fde6
17 PKG_HASH:=36428c6a6cb3088cad5a3592933385253da5f29f2effa61518ee5991ea38f833
18
19 PKG_LICENSE:=GPL-2.0+
20 PKG_LICENSE_FILES:=COPYING
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/dfu-util
25 SUBMENU:=
26 SECTION:=utils
27 CATEGORY:=Utilities
28 DEPENDS:=+libusb-1.0
29 TITLE:=Device Firmware Upgrade Utilities
30 URL:=http://dfu-util.sourceforge.net/
31 MAINTAINER:=Bruno Randolf <br1@einfach.org>
32 endef
33
34 define Package/dfu-util/description
35 dfu-util is a host side implementation of the DFU 1.0 and DFU 1.1
36 specifications of the USB forum. DFU is intended to download and
37 upload firmware to/from devices connected over USB.
38 endef
39
40 define Package/dfu-util/install
41 $(INSTALL_DIR) $(1)/usr/bin
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/dfu-util $(1)/usr/bin/
43 endef
44
45 $(eval $(call BuildPackage,dfu-util))