[arch-commits] Commit in avr-gdb/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Sep 7 20:03:44 UTC 2015
Date: Monday, September 7, 2015 @ 22:03:44
Author: foutrelis
Revision: 139544
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
avr-gdb/repos/community-staging-i686/
avr-gdb/repos/community-staging-i686/PKGBUILD
(from rev 139543, avr-gdb/trunk/PKGBUILD)
avr-gdb/repos/community-staging-x86_64/
avr-gdb/repos/community-staging-x86_64/PKGBUILD
(from rev 139543, avr-gdb/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++
2 files changed, 104 insertions(+)
Copied: avr-gdb/repos/community-staging-i686/PKGBUILD (from rev 139543, avr-gdb/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-09-07 20:03:44 UTC (rev 139544)
@@ -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.10
+pkgrel=2
+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=('7ebdaa44f9786ce0c142da4e36797d2020c55fa091905ac5af1846b5756208a8'
+ '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-staging-x86_64/PKGBUILD (from rev 139543, avr-gdb/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-09-07 20:03:44 UTC (rev 139544)
@@ -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.10
+pkgrel=2
+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=('7ebdaa44f9786ce0c142da4e36797d2020c55fa091905ac5af1846b5756208a8'
+ '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