include $(TOPDIR)/rules.mk PKG_NAME:=dfu-programmer PKG_VERSION:=1.0.0 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/$(PKG_NAME)/$(PKG_NAME)/releases/download/v$(PKG_VERSION)/ PKG_HASH:=867eaf0a8cd10123715491807ab99cecb54dc6f09dddade4b2a42b0b0ef9e6b0 PKG_MAINTAINER:=Stefan Hellermann PKG_LICENSE:=GPL-2.0 PKG_LICENSE_FILES:=COPYING PKG_FIXUP:=autoreconf PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 MAKE_PATH:=src include $(INCLUDE_DIR)/package.mk define Package/dfu-programmer SECTION:=utils CATEGORY:=Utilities SUBMENU:=Microcontroller programming TITLE:=USB programmer for Atmel microcontrollers URL:=https://github.com/dfu-programmer/dfu-programmer DEPENDS:=+libusb-1.0 endef define Package/dfu-programmer/description dfu-programmer is a Device Firmware Update (DFU) based USB programmer for Atmel chips with a USB bootloader. endef define Package/dfu-programmer/install $(INSTALL_DIR) $(1)/usr/bin $(CP) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/ endef $(eval $(call BuildPackage,dfu-programmer))