cross-avr-gdb: rename to avr-gdb for consistency

This commit is contained in:
Jürgen Buchmüller 2020-09-30 12:04:09 +02:00
parent 3fa858c1c6
commit ef568dadc4

View file

@ -1,10 +1,8 @@
# Template file for 'cross-${_triplet}-${_pkgname}'
_triplet=avr
_pkgname=gdb
pkgname=cross-${_triplet}-${_pkgname}
# Template file for 'avr-gdb'
pkgname=avr-gdb
version=9.2
revision=1
wrksrc=${_pkgname}-${version}
wrksrc=${pkgname#avr-}-${version}
build_style=gnu-configure
pycompile_dirs="/usr/share/gdb/python"
configure_args="\
@ -25,9 +23,10 @@ short_desc="GNU Debugger for AVR"
maintainer="Artur Sinila <opensource@logarithmus.dev>"
license="GPL-3.0-or-later"
homepage="https://www.gnu.org/software/gdb/"
distfiles="${GNU_SITE}/${_pkgname}/${_pkgname}-${version}.tar.xz"
distfiles="${GNU_SITE}/${pkgname#avr-}/${pkgname#avr-}-${version}.tar.xz"
checksum=360cd7ae79b776988e89d8f9a01c985d0b1fa21c767a4295e5f88cb49175c555
python_version=3
replaces="cross-avr-gdb>=0"
if [ "${CROSS_BUILD}" ]; then
# Make python3.x detection work in cross builds