[arch-commits] Commit in avr-gdb/repos (4 files)
Anatol Pomozov
anatolik at archlinux.org
Fri Oct 7 19:47:21 UTC 2016
Date: Friday, October 7, 2016 @ 19:47:21
Author: anatolik
Revision: 191595
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 191594, avr-gdb/trunk/PKGBUILD)
avr-gdb/repos/community-testing-x86_64/
avr-gdb/repos/community-testing-x86_64/PKGBUILD
(from rev 191594, 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 191594, avr-gdb/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-10-07 19:47:21 UTC (rev 191595)
@@ -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.12
+pkgrel=1
+pkgdesc='The GNU Debugger for AVR'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+depends=(python guile xz gdb-common)
+options=(!emptydirs)
+source=(ftp://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig})
+sha256sums=('834ff3c5948b30718343ea57b11cbc3235d7995c6a4f3a5cecec8c8114164f94'
+ '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/python3 \
+ --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 191594, avr-gdb/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2016-10-07 19:47:21 UTC (rev 191595)
@@ -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.12
+pkgrel=1
+pkgdesc='The GNU Debugger for AVR'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+depends=(python guile xz gdb-common)
+options=(!emptydirs)
+source=(ftp://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig})
+sha256sums=('834ff3c5948b30718343ea57b11cbc3235d7995c6a4f3a5cecec8c8114164f94'
+ '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/python3 \
+ --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