summaryrefslogtreecommitdiff
path: root/community/avr-gdb
diff options
context:
space:
mode:
Diffstat (limited to 'community/avr-gdb')
-rw-r--r--community/avr-gdb/PKGBUILD19
1 files changed, 12 insertions, 7 deletions
diff --git a/community/avr-gdb/PKGBUILD b/community/avr-gdb/PKGBUILD
index 2dbb56ee0..4cb5e63e2 100644
--- a/community/avr-gdb/PKGBUILD
+++ b/community/avr-gdb/PKGBUILD
@@ -7,34 +7,37 @@
pkgname=avr-gdb
_pkgname=gdb
-pkgver=7.4
-pkgrel=2
+pkgver=7.5.1
+pkgrel=1
pkgdesc="The GNU Debugger for AVR"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/gdb/"
license=('GPL3')
-depends=('python')
+depends=('python2')
options=('!libtool')
source=(http://ftp.gnu.org/gnu/gdb/${_pkgname}-${pkgver}.tar.bz2)
-md5sums=('95a9a8305fed4d30a30a6dc28ff9d060')
build() {
cd ${srcdir}/${_pkgname}-${pkgver}
unset LDFLAGS
export CFLAGS="-O2 -pipe"
+ export CPPFLAGS="-O2 -pipe"
export CXXFLAGS="$CFLAGS"
- ./configure --prefix=/usr \
- --target=avr \
+ ./configure \
--disable-nls \
--enable-languages=c,c++ \
--infodir=/usr/share/info \
--libdir=/usr/lib \
- --program-prefix=avr- \
--libexecdir=/usr/lib \
--mandir=/usr/share/man \
+ --prefix=/usr \
+ --program-prefix=avr- \
+ --target=avr \
+ --with-python=/usr/bin/python2 \
--with-system-readline
+
make
}
@@ -48,3 +51,5 @@ package() {
rm -rf ${pkgdir}/usr/share/gdb
rm -rf ${pkgdir}/usr/include/gdb
}
+
+md5sums=('3f48f468b24447cf24820054ff6e85b1')