You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.1 KiB

  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=dfu-util
  9. PKG_VERSION:=0.11
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@SF/$(PKG_NAME)
  13. PKG_MAINTAINER:=Bruno Randolf <br1@einfach.org>
  14. PKG_HASH:=b4b53ba21a82ef7e3d4c47df2952adf5fa494f499b6b0b57c58c5d04ae8ff19e
  15. PKG_LICENSE:=GPL-2.0-or-later
  16. PKG_LICENSE_FILES:=COPYING
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/dfu-util
  19. SUBMENU:=
  20. SECTION:=utils
  21. CATEGORY:=Utilities
  22. DEPENDS:=+libusb-1.0
  23. TITLE:=Device Firmware Upgrade Utilities
  24. URL:=http://dfu-util.sourceforge.net/
  25. MAINTAINER:=Bruno Randolf <br1@einfach.org>
  26. endef
  27. define Package/dfu-util/description
  28. dfu-util is a host side implementation of the DFU 1.0 and DFU 1.1
  29. specifications of the USB forum. DFU is intended to download and
  30. upload firmware to/from devices connected over USB.
  31. endef
  32. define Package/dfu-util/install
  33. $(INSTALL_DIR) $(1)/usr/bin
  34. $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/dfu-util $(1)/usr/bin/
  35. endef
  36. $(eval $(call BuildPackage,dfu-util))