New package: cross-arm-none-eabi-gdb-8.2.1

Closes: #11571 [via git-merge-pr]
This commit is contained in:
Ivan Sokolov 2019-05-08 23:16:24 +03:00 committed by Jürgen Buchmüller
parent 4d925693b7
commit 152aa8c225

View file

@ -0,0 +1,43 @@
# Template file for 'cross-${_triplet}-${_pkgname}'
_triplet=arm-none-eabi
_pkgname=gdb
pkgname=cross-${_triplet}-${_pkgname}
version=8.2.1
revision=1
wrksrc="${_pkgname}-${version}"
build_style=gnu-configure
pycompile_dirs="/usr/share/${_pkgname}"
configure_args="
--disable-gdbserver
--disable-nls
--disable-werror
--host=${XBPS_CROSS_TRIPLE}
--prefix=/usr
--target=${_triplet}
--with-babeltrace
--with-expat
--with-mpfr
--with-system-readline
--with-system-zlib
--without-isl
$(vopt_with guile)
$(vopt_with python)
"
hostmakedepends="autoconf automake bison flex pkg-config"
makedepends="babeltrace-devel expat-devel mpfr-devel ncurses-devel readline-devel zlib-devel $(vopt_if guile guile-devel) $(vopt_if python 'python3-devel gettext-libs')"
short_desc="GNU Debugger"
maintainer="Ivan Sokolov <ivan-p-sokolov@ya.ru>"
license="GPL-3.0-or-later"
homepage="https://www.gnu.org/software/${_pkgname}"
distfiles="${GNU_SITE}/${_pkgname}/${_pkgname}-${version}.tar.xz"
checksum=0a6a432907a03c5c8eaad3c3cffd50c00a40c3a5e3c4039440624bae703f2202
build_options="guile python"
# don't enable guile and python interfaces until they are moved into
# platform independent packages
build_options_default=" "
nocross=yes
post_install() {
# resolve conflicts with binutils and native gdb
rm -fr ${DESTDIR}/usr/{share/{locale,gdb,info},include}
}