38 lines
1 KiB
Bash
38 lines
1 KiB
Bash
# Template file for 'openocd'
|
|
pkgname=openocd
|
|
version=0.10.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="
|
|
--disable-werror
|
|
--disable-internal-jimtcl
|
|
--enable-amtjtagaccel
|
|
--enable-at91rm9200
|
|
--enable-bcm2835gpio
|
|
--enable-buspirate
|
|
--enable-dummy
|
|
--enable-ep93xx
|
|
--enable-gw16012
|
|
--enable-jtag_vpi
|
|
--enable-openjtag_ftdi
|
|
--enable-parport
|
|
--enable-presto_libftdi
|
|
--enable-remote-bitbang
|
|
--enable-sysfsgpio
|
|
--enable-usb_blaster_libftdi"
|
|
case "$XBPS_MACHINE" in
|
|
*-musl) configure_args+=" ac_cv_header_malloc_h=no" # no mallinfo
|
|
esac
|
|
hostmakedepends="pkg-config"
|
|
makedepends="hidapi-devel jimtcl-devel libftdi1-devel
|
|
libusb-compat-devel libusb-devel"
|
|
short_desc="Open On-Chip Debugger"
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="http://openocd.org/"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
|
|
checksum=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae
|
|
|
|
post_extract() {
|
|
sed -i '/raggedright/d' doc/openocd.texi # makeinfo 4.xx
|
|
}
|