1 # Contributor: Corrado Primier <bardo@aur.archlinux.org>
2 # Contributor: Alexander 'hatred' Drozdov <adrozdoff@gmail.com>
4 pkgname=avrdude-serjtag
8 pkgdesc="Download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers. With FTDI BitBang support (via proprietary libftd2xx)"
10 url="http://www.nongnu.org/avrdude/"
12 depends=('libusb' 'readline' 'libftd2xx')
13 conflicts=('avrdude' 'avrdude-ftdi')
14 replaces=('avrdude' 'avrdude-ftdi')
16 source=(http://download.savannah.gnu.org/releases/avrdude/${_pkgname}-${pkgver}.tar.gz
18 patch-avrdude.conf.in.diff
19 patch-config_gram.y.diff
23 patch-Makefile.in.diff
29 cd ${srcdir}/${_pkgname}-${pkgver}
33 patch-avrdude.conf.in.diff \
34 patch-config_gram.y.diff \
38 patch-Makefile.in.diff \
39 patch-serjtag.c.diff \
40 patch-serjtag.h.diff \
43 patch -Np0 < ../$i || true
46 ./configure CFLAGS="$CFLAGS -g -O2 -DSUPPORT_FT245R" LIBS="-lftd2xx" \
47 --mandir=/usr/share/man --prefix=/usr --sysconfdir=/etc
49 make DESTDIR=${pkgdir} install
51 md5sums=('69b082683047e054348088fd63bad2ff'
52 'f6c78bff5350fb11b3058feeb7b8c60a'
53 '888315bd19d5ba6d00730814cc519083'
54 '2fa1ad69895c305cdcf6d7ff164694fe'
55 '8bbe4423ef28098c7227d254503926b4'
56 '52f2ffb802d3f75c6011bde111fd5662'
57 'b71cbf76522cc0b1dc7e453405548b27'
58 '762a775232aca1275c09c3fc65eccc0a'
59 '59cf0c477edf63be013c32e53385d01f'
60 'ecd2eb9d3d12cecd33470b5b34b4b5e3'
61 'aad0a79101876c44eda65b5e2e6aac2a')