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.

54 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2008-2015 OpenWrt.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:=avrdude
  9. PKG_VERSION:=6.1
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/avrdude
  13. PKG_MD5SUM:=9db8c25b935d34234b9b1ba16ad55fd5
  14. PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
  15. PKG_LICENSE:=GPL-2.0
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_FIXUP:=autoreconf
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/avrdude
  21. SECTION:=utils
  22. CATEGORY:=Utilities
  23. TITLE:=AVR Downloader/UploaDEr
  24. URL:=http://www.nongnu.org/avrdude/
  25. DEPENDS:=+libncurses +libreadline +libusb-compat +libftdi1 +libelf1
  26. endef
  27. define Package/avrdude/description
  28. AVRDUDE is a full featured program for programming Atmel's AVR CPU's.
  29. endef
  30. CONFIGURE_ARGS+= \
  31. --disable-doc \
  32. --disable-parport \
  33. define Package/avrdude/conffiles
  34. /etc/avrdude.conf
  35. endef
  36. define Package/avrdude/install
  37. $(INSTALL_DIR) $(1)/etc
  38. $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/avrdude.conf $(1)/etc/
  39. $(INSTALL_DIR) $(1)/usr/bin
  40. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/avrdude $(1)/usr/bin/
  41. endef
  42. $(eval $(call BuildPackage,avrdude))