summaryrefslogtreecommitdiff
path: root/community/avr-gdb/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-04-15 10:12:01 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-04-15 10:12:01 +0200
commit9c67fc1a17727682bc753bbd353cf7af6e6099e7 (patch)
tree8c60dcb6992954a61f171ad0ab2f463b6f0d9d1e /community/avr-gdb/PKGBUILD
parent5e1552e4d38c7ce209ce301f5020793e890366dc (diff)
parent030187a191f576ae92cef43f3c8cd7f1df084b87 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/avr-binutils/PKGBUILD community/ettercap/PKGBUILD community/python2-traits/PKGBUILD
Diffstat (limited to 'community/avr-gdb/PKGBUILD')
-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 367c160d1..29aaf49f7 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' 'mips64el')
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')