[arch-commits] Commit in arm-none-eabi-gdb/repos (4 files)

Anatol Pomozov anatolik at archlinux.org
Mon Jun 5 01:50:14 UTC 2017


    Date: Monday, June 5, 2017 @ 01:50:13
  Author: anatolik
Revision: 234125

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  arm-none-eabi-gdb/repos/community-testing-i686/
  arm-none-eabi-gdb/repos/community-testing-i686/PKGBUILD
    (from rev 234124, arm-none-eabi-gdb/trunk/PKGBUILD)
  arm-none-eabi-gdb/repos/community-testing-x86_64/
  arm-none-eabi-gdb/repos/community-testing-x86_64/PKGBUILD
    (from rev 234124, arm-none-eabi-gdb/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   55 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   55 ++++++++++++++++++++++++++++++++++++
 2 files changed, 110 insertions(+)

Copied: arm-none-eabi-gdb/repos/community-testing-i686/PKGBUILD (from rev 234124, arm-none-eabi-gdb/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2017-06-05 01:50:13 UTC (rev 234125)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Martin Schmölzer <mschmoelzer at gmail.com>
+
+_target=arm-none-eabi
+pkgname=$_target-gdb
+pkgver=8.0
+pkgrel=1
+pkgdesc='The GNU Debugger for the ARM EABI (bare-metal) target'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+depends=(xz ncurses expat python guile2.0 gdb-common)
+optdepends=('openocd: for debugging JTAG targets'
+            'stlink: for debugging over STLINK')
+options=(!emptydirs)
+source=(ftp://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig})
+sha256sums=('f6a24ffe4917e67014ef9273eb8b547cb96a13e5ca74895b06d683b391f3f4ee'
+            '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 \
+    --target=$_target \
+    --prefix=/usr \
+    --enable-languages=c,c++ \
+    --enable-multilib \
+    --enable-interwork \
+    --with-system-readline \
+    --disable-nls \
+    --with-python=/usr/bin/python3 \
+    --with-guile=guile-2.0 \
+    --with-system-gdbinit=/etc/gdb/gdbinit
+
+  make
+}
+
+package() {
+  cd gdb-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  # Following files conflict with 'gdb' package
+  rm -r "$pkgdir"/usr/share/info
+  rm -r "$pkgdir"/usr/share/gdb
+  rm -r "$pkgdir"/usr/include/gdb
+  rm -r "$pkgdir"/usr/share/man/man5
+}

Copied: arm-none-eabi-gdb/repos/community-testing-x86_64/PKGBUILD (from rev 234124, arm-none-eabi-gdb/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-06-05 01:50:13 UTC (rev 234125)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Martin Schmölzer <mschmoelzer at gmail.com>
+
+_target=arm-none-eabi
+pkgname=$_target-gdb
+pkgver=8.0
+pkgrel=1
+pkgdesc='The GNU Debugger for the ARM EABI (bare-metal) target'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+depends=(xz ncurses expat python guile2.0 gdb-common)
+optdepends=('openocd: for debugging JTAG targets'
+            'stlink: for debugging over STLINK')
+options=(!emptydirs)
+source=(ftp://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig})
+sha256sums=('f6a24ffe4917e67014ef9273eb8b547cb96a13e5ca74895b06d683b391f3f4ee'
+            '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 \
+    --target=$_target \
+    --prefix=/usr \
+    --enable-languages=c,c++ \
+    --enable-multilib \
+    --enable-interwork \
+    --with-system-readline \
+    --disable-nls \
+    --with-python=/usr/bin/python3 \
+    --with-guile=guile-2.0 \
+    --with-system-gdbinit=/etc/gdb/gdbinit
+
+  make
+}
+
+package() {
+  cd gdb-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  # Following files conflict with 'gdb' package
+  rm -r "$pkgdir"/usr/share/info
+  rm -r "$pkgdir"/usr/share/gdb
+  rm -r "$pkgdir"/usr/include/gdb
+  rm -r "$pkgdir"/usr/share/man/man5
+}



More information about the arch-commits mailing list