2 # Copyright (C) 2008-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SAVANNAH
/$(PKG_NAME
)
16 PKG_HASH
:=0f9f731b6394ca7795b88359689a7fa1fba818c6e1d962513eb28da670e0a196
18 PKG_MAINTAINER
:=Ted Hess
<thess@kitschensync.net
>
20 PKG_LICENSE_FILES
:=COPYING
25 include $(INCLUDE_DIR
)/package.mk
26 include $(INCLUDE_DIR
)/nls.mk
28 define Package
/avrdude
31 SUBMENU
:=Microcontroller programming
32 TITLE
:=AVR Downloader
/UploaDEr
33 URL
:=http
://www.nongnu.org
/avrdude
/
34 DEPENDS
:=+libncurses
+libreadline
+libusb-compat
+libftdi1
+libelf1
37 define Package
/avrdude
/description
38 AVRDUDE is a full featured program for programming Atmel
's AVR CPU's.
49 define Package
/avrdude
/conffiles
53 define Package
/avrdude
/install
54 $(INSTALL_DIR
) $(1)/etc
55 $(INSTALL_CONF
) $(PKG_INSTALL_DIR
)/etc
/avrdude.conf
$(1)/etc
/
56 $(INSTALL_DIR
) $(1)/usr
/bin
57 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/avrdude
$(1)/usr
/bin
/
60 $(eval
$(call BuildPackage
,avrdude
))