aboutsummaryrefslogtreecommitdiffstats
path: root/community/avrdude/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/avrdude/APKBUILD')
-rw-r--r--community/avrdude/APKBUILD23
1 files changed, 13 insertions, 10 deletions
diff --git a/community/avrdude/APKBUILD b/community/avrdude/APKBUILD
index 5425f8851a..e7b01ba2fd 100644
--- a/community/avrdude/APKBUILD
+++ b/community/avrdude/APKBUILD
@@ -2,35 +2,38 @@
# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
pkgname=avrdude
pkgver=6.3
-pkgrel=2
+pkgrel=4
pkgdesc="Download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers"
url="http://www.nongnu.org/avrdude/"
arch="all"
license="GPL"
makedepends="linux-headers bash flex byacc libftdi1-dev libusb-compat-dev elfutils-dev"
subpackages="$pkgname-dev $pkgname-doc"
-source="https://download.savannah.gnu.org/releases/avrdude/${pkgname}-${pkgver}.tar.gz"
-
-builddir="$srcdir/${pkgname}-${pkgver}"
+source="
+ https://download.savannah.gnu.org/releases/avrdude/avrdude-$pkgver.tar.gz
+ xplainedpro_pdi.patch
+ "
prepare() {
- default_prepare || return 1
- update_config_guess || return 1
+ default_prepare
+ # Fix permissions on config.guess and config.sub first
+ chmod 755 config.guess config.sub
+ update_config_guess
+ update_config_sub
}
build() {
- cd "$builddir"
./configure \
--mandir=/usr/share/man \
--prefix=/usr \
--sysconfdir=/etc \
- --enable-linuxgpio || return 1
+ --enable-linuxgpio
make
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="b671008388d6a552e71066fec46429bc7f6639e8eac41113bcbba5a56212b78be31fcf04956b31e11c6b14888b0f6e825f7458395b9ff4fc28406074c7ded2b2 avrdude-6.3.tar.gz"
+sha512sums="b671008388d6a552e71066fec46429bc7f6639e8eac41113bcbba5a56212b78be31fcf04956b31e11c6b14888b0f6e825f7458395b9ff4fc28406074c7ded2b2 avrdude-6.3.tar.gz
+dcfe37b5be86458856f0d769cc118a37d7b1dd550c9a818a5261357112fd6c561db4998f0ea72ecb33208797a7b887814bff539b815cc5fd39124db6c2a9e6ed xplainedpro_pdi.patch"