summaryrefslogtreecommitdiff
path: root/community/avr-gdb
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-15 00:06:15 -0700
committerroot <root@rshg054.dnsready.net>2013-04-15 00:06:15 -0700
commit030187a191f576ae92cef43f3c8cd7f1df084b87 (patch)
tree5362cfd60ff423656d8803918f94fd3478659e09 /community/avr-gdb
parent8ec4fd7a9e4748c568b20fefcb2dec0f289dc213 (diff)
Mon Apr 15 00:06:15 PDT 2013
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')