[arch-commits] Commit in avr-gdb/repos (4 files)
Anatol Pomozov
anatolik at archlinux.org
Fri Feb 20 21:15:53 UTC 2015
Date: Friday, February 20, 2015 @ 22:15:52
Author: anatolik
Revision: 128045
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
avr-gdb/repos/community-testing-i686/
avr-gdb/repos/community-testing-i686/PKGBUILD
(from rev 128044, avr-gdb/trunk/PKGBUILD)
avr-gdb/repos/community-testing-x86_64/
avr-gdb/repos/community-testing-x86_64/PKGBUILD
(from rev 128044, avr-gdb/trunk/PKGBUILD)
-----------------------------------+
community-testing-i686/PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++
2 files changed, 104 insertions(+)
Copied: avr-gdb/repos/community-testing-i686/PKGBUILD (from rev 128044, avr-gdb/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-02-20 21:15:52 UTC (rev 128045)
@@ -0,0 +1,52 @@
+# Maintainer: schuay <jakob.gruber at gmail.com>
+# Contributor: Ivan Sichmann Freitas <ivansichfreitas at gmail dot com>
+# Contributor: Laszlo Papp <djszapi2 at gmail dot com>
+# Contributor: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
+# Contributor: Vladimir Cerny <blackvladimir at gmail.com>
+# Contributor: 4javier <4javieregATgmailDOTcom>
+
+_target=avr
+pkgname=$_target-gdb
+pkgver=7.9
+pkgrel=1
+pkgdesc='The GNU Debugger for AVR'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+depends=(python2 guile xz)
+options=(!emptydirs)
+source=(ftp://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig})
+sha256sums=('9b315651a16528f7af8c7d8284699fb0c965df316cc7339bb0b7bae335848392'
+ 'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker <brobecker at adacore.com>
+
+prepare() {
+ cd gdb-$pkgver
+ sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+ cd gdb-$pkgver
+
+ ./configure \
+ --disable-nls \
+ --enable-languages=c,c++ \
+ --prefix=/usr \
+ --target=$_target \
+ --with-python=/usr/bin/python2 \
+ --with-system-readline \
+ --with-system-gdbinit=/etc/gdb/gdbinit
+
+ make
+}
+
+package() {
+ cd gdb-$pkgver
+
+ make DESTDIR="$pkgdir" install
+
+ rm -r "$pkgdir"/usr/share/info
+ rm -r "$pkgdir"/usr/share/man
+ rm -r "$pkgdir"/usr/share/gdb
+ rm -r "$pkgdir"/usr/include/gdb
+}
Copied: avr-gdb/repos/community-testing-x86_64/PKGBUILD (from rev 128044, avr-gdb/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2015-02-20 21:15:52 UTC (rev 128045)
@@ -0,0 +1,52 @@
+# Maintainer: schuay <jakob.gruber at gmail.com>
+# Contributor: Ivan Sichmann Freitas <ivansichfreitas at gmail dot com>
+# Contributor: Laszlo Papp <djszapi2 at gmail dot com>
+# Contributor: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
+# Contributor: Vladimir Cerny <blackvladimir at gmail.com>
+# Contributor: 4javier <4javieregATgmailDOTcom>
+
+_target=avr
+pkgname=$_target-gdb
+pkgver=7.9
+pkgrel=1
+pkgdesc='The GNU Debugger for AVR'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+depends=(python2 guile xz)
+options=(!emptydirs)
+source=(ftp://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig})
+sha256sums=('9b315651a16528f7af8c7d8284699fb0c965df316cc7339bb0b7bae335848392'
+ 'SKIP')
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker <brobecker at adacore.com>
+
+prepare() {
+ cd gdb-$pkgver
+ sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+ cd gdb-$pkgver
+
+ ./configure \
+ --disable-nls \
+ --enable-languages=c,c++ \
+ --prefix=/usr \
+ --target=$_target \
+ --with-python=/usr/bin/python2 \
+ --with-system-readline \
+ --with-system-gdbinit=/etc/gdb/gdbinit
+
+ make
+}
+
+package() {
+ cd gdb-$pkgver
+
+ make DESTDIR="$pkgdir" install
+
+ rm -r "$pkgdir"/usr/share/info
+ rm -r "$pkgdir"/usr/share/man
+ rm -r "$pkgdir"/usr/share/gdb
+ rm -r "$pkgdir"/usr/include/gdb
+}
More information about the arch-commits
mailing list