openocd: update to 0.11.0.

This commit is contained in:
nekineki 2021-03-17 16:04:32 +01:00 committed by Érico Nogueira Rolim
parent 32c6278ae3
commit a3ef97d319
1 changed files with 22 additions and 10 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'openocd'
pkgname=openocd
version=0.10.0
revision=5
version=0.11.0
revision=1
build_style=gnu-configure
configure_args="
--disable-werror
@ -14,12 +14,28 @@ configure_args="
--enable-ep93xx
--enable-gw16012
--enable-jtag_vpi
--enable-openjtag_ftdi
--enable-openjtag
--enable-parport
--enable-presto_libftdi
--enable-presto
--enable-remote-bitbang
--enable-sysfsgpio
--enable-usb_blaster_libftdi"
--enable-usb-blaster
--enable-usb-blaster-2
--enable-armjtagew
--enable-ftdi
--enable-jlink
--enable-oocd_trace
--enable-opendous
--enable-osbdm
--enable-rlink
--enable-stlink
--enable-ti-icdi
--enable-ulink
--enable-usbprog
--enable-vsllink
--enable-aice
--enable-cmsis-dap
--enable-cmsis-dap-v2"
case "$XBPS_MACHINE" in
*-musl) configure_args+=" ac_cv_header_malloc_h=no" # no mallinfo
esac
@ -31,16 +47,12 @@ maintainer="Érico Nogueira <ericonr@disroot.org>"
license="GPL-2.0-or-later"
homepage="http://openocd.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
checksum=43a3ce734aff1d3706ad87793a9f3a5371cb0e357f0ffd0a151656b06b3d1e7d
system_groups="plugdev"
CFLAGS="-fcommon"
post_extract() {
sed -i '/raggedright/d' doc/openocd.texi # makeinfo 4.xx
}
post_install() {
vinstall contrib/60-openocd.rules 644 usr/lib/udev/rules.d/
}