From 030187a191f576ae92cef43f3c8cd7f1df084b87 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 15 Apr 2013 00:06:15 -0700 Subject: Mon Apr 15 00:06:15 PDT 2013 --- community/avr-gdb/PKGBUILD | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'community/avr-gdb') 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') -- cgit v1.2.3-54-g00ecf