[arch-commits] Commit in aarch64-linux-gnu-gdb/repos (4 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sat Dec 24 15:19:42 UTC 2016


    Date: Saturday, December 24, 2016 @ 15:19:41
  Author: bpiotrowski
Revision: 201523

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

Added:
  aarch64-linux-gnu-gdb/repos/community-staging-i686/
  aarch64-linux-gnu-gdb/repos/community-staging-i686/PKGBUILD
    (from rev 201522, aarch64-linux-gnu-gdb/trunk/PKGBUILD)
  aarch64-linux-gnu-gdb/repos/community-staging-x86_64/
  aarch64-linux-gnu-gdb/repos/community-staging-x86_64/PKGBUILD
    (from rev 201522, aarch64-linux-gnu-gdb/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   51 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   51 ++++++++++++++++++++++++++++++++++++
 2 files changed, 102 insertions(+)

Copied: aarch64-linux-gnu-gdb/repos/community-staging-i686/PKGBUILD (from rev 201522, aarch64-linux-gnu-gdb/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-12-24 15:19:41 UTC (rev 201523)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_target=aarch64-linux-gnu
+pkgname=$_target-gdb
+pkgver=7.12
+pkgrel=2
+pkgdesc='The GNU Debugger for the ARM64 target'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+depends=(xz ncurses expat python guile gdb-common)
+options=(!emptydirs)
+source=(ftp://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig})
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+sha256sums=('834ff3c5948b30718343ea57b11cbc3235d7995c6a4f3a5cecec8c8114164f94'
+            'SKIP')
+
+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++ \
+    --disable-multilib \
+    --enable-interwork \
+    --with-system-readline \
+    --disable-nls \
+    --with-python=/usr/bin/python3 \
+    --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: aarch64-linux-gnu-gdb/repos/community-staging-x86_64/PKGBUILD (from rev 201522, aarch64-linux-gnu-gdb/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-12-24 15:19:41 UTC (rev 201523)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_target=aarch64-linux-gnu
+pkgname=$_target-gdb
+pkgver=7.12
+pkgrel=2
+pkgdesc='The GNU Debugger for the ARM64 target'
+arch=(i686 x86_64)
+url='http://www.gnu.org/software/gdb/'
+license=(GPL3)
+depends=(xz ncurses expat python guile gdb-common)
+options=(!emptydirs)
+source=(ftp://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig})
+validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker
+sha256sums=('834ff3c5948b30718343ea57b11cbc3235d7995c6a4f3a5cecec8c8114164f94'
+            'SKIP')
+
+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++ \
+    --disable-multilib \
+    --enable-interwork \
+    --with-system-readline \
+    --disable-nls \
+    --with-python=/usr/bin/python3 \
+    --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