[packages] add avrdude
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11146 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
32a4def34f
commit
bf1c849377
53
utils/avrdude/Makefile
Normal file
53
utils/avrdude/Makefile
Normal file
@ -0,0 +1,53 @@
|
||||
#
|
||||
# Copyright (C) 2008 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# $Id$
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=avrdude
|
||||
PKG_VERSION:=5.5
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:= http://download.savannah.gnu.org/releases/avrdude/
|
||||
PKG_MD5SUM:=60180d3f5f467987bfd7bc4505796fae
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/avrdude
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=AVR Downloader/UploaDEr
|
||||
URL:=http://www.bsdhome.com/avrdude/
|
||||
DEPENDS:=+libncurses
|
||||
endef
|
||||
|
||||
define Package/avrdude/description
|
||||
AVRDUDE is a full featured program for programming Atmel's AVR CPU's.
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS+= \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--disable-parport \
|
||||
|
||||
define Build/Compile
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
|
||||
endef
|
||||
|
||||
define Package/avrdude/conffiles
|
||||
/etc/avrdude.conf
|
||||
endef
|
||||
|
||||
define Package/avrdude/install
|
||||
$(INSTALL_DIR) $(1)/etc
|
||||
$(CP) $(PKG_INSTALL_DIR)/etc/avrdude.conf $(1)/etc/
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/avrdude $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,avrdude))
|
Loading…
x
Reference in New Issue
Block a user