summaryrefslogtreecommitdiff
path: root/pcr/riscv64-linux-gnu-gdb/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-05-01 11:18:20 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-05-01 11:18:20 -0500
commitd5390ce1cd1f2f1a5649708780ac6a264299a1a4 (patch)
treebf3798b9e00bc0d6d04246e7c77840cd74c6949d /pcr/riscv64-linux-gnu-gdb/PKGBUILD
parent6150979141f7fcedf5455b5007744819adbb0e40 (diff)
downloadabslibre-d5390ce1cd1f2f1a5649708780ac6a264299a1a4.tar.gz
abslibre-d5390ce1cd1f2f1a5649708780ac6a264299a1a4.tar.bz2
abslibre-d5390ce1cd1f2f1a5649708780ac6a264299a1a4.zip
Removing riscv64-linux-gnu-* packages
Diffstat (limited to 'pcr/riscv64-linux-gnu-gdb/PKGBUILD')
-rw-r--r--pcr/riscv64-linux-gnu-gdb/PKGBUILD64
1 files changed, 0 insertions, 64 deletions
diff --git a/pcr/riscv64-linux-gnu-gdb/PKGBUILD b/pcr/riscv64-linux-gnu-gdb/PKGBUILD
deleted file mode 100644
index b238605a8..000000000
--- a/pcr/riscv64-linux-gnu-gdb/PKGBUILD
+++ /dev/null
@@ -1,64 +0,0 @@
-# $Id$
-# Maintainer (Arch): Anatol Pomozov <anatol.pomozov@gmail.com>
-# Contributor: Andreas Grapentin <andreas@grapentin.org>
-
-# parabola changes and rationale:
-# - adapted from aarch64-linux-gnu-gdb
-
-_target=riscv64-linux-gnu
-pkgname=$_target-gdb
-_gitname=riscv-binutils-gdb
-pkgver=8.0.50_20180227
-pkgrel=1
-pkgdesc='The GNU Debugger for the riscv64 target'
-arch=(x86_64)
-url='https://github.com/riscv/riscv-binutils-gdb'
-license=(GPL3)
-depends=(xz ncurses expat python guile2.0 gdb-common mpfr)
-makedepends=(git)
-options=(!emptydirs)
-source=("git+https://github.com/riscv/riscv-binutils-gdb#branch=riscv-next")
-sha256sums=('SKIP')
-
-pkgver() {
- cd "${srcdir}/${_gitname}"
-
- cat gdb/version.in | sed "s/\.DATE-git/_$(date +%Y%m%d)/"
-}
-
-prepare() {
- cd "${srcdir}/${_gitname}"
-
- sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
-}
-
-build() {
- cd "${srcdir}/${_gitname}"
-
- ./configure \
- --target=$_target \
- --with-arch=rv64gc \
- --with-abi=lp64d \
- --prefix=/usr \
- --enable-languages=c,c++ \
- --disable-multilib \
- --with-system-readline \
- --disable-nls \
- --with-python=/usr/bin/python3 \
- --with-guile=guile-2.0 \
- --with-system-gdbinit=/etc/gdb/gdbinit
-
- make all-gdb
-}
-
-package() {
- cd "${srcdir}/${_gitname}"
-
- make DESTDIR="$pkgdir" install-gdb
-
- # 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
-}