# Template file for 'avrdude'
pkgname=avrdude
version=6.4
revision=1
build_style=gnu-configure
configure_args="$(vopt_enable gpio linuxgpio) $(vopt_enable spi linuxspi)"
hostmakedepends="flex"
makedepends="elfutils-devel libusb-devel libusb-compat-devel libftdi1-devel
 hidapi-devel"
depends="avr-libc"
short_desc="Utility to manipulate ROM and EEPROM of AVR microcontrollers"
maintainer="Subhaditya Nath <sn03.general@gmail.com>"
license="GPL-2.0-only"
homepage="http://www.nongnu.org/avrdude/"
distfiles="$NONGNU_SITE/$pkgname/${pkgname}-$version.tar.gz"
checksum=a9be7066f70a9dcf4bf0736fcf531db6a3250aed1a24cc643add27641b7110f9
conf_files="/etc/avrdude.conf"
build_options="gpio spi"
desc_option_spi="Enable LINUXSPI support"
desc_option_gpio="Enable LINUXGPIO support"
build_options_default="${build_options}"
