41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
# Template file for 'openocd'
|
|
pkgname=openocd
|
|
version=0.9.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-ioutil
|
|
--enable-jtag_vpi
|
|
--enable-oocd_trace
|
|
--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=837042ac9a156b9363cbffa1fcdaf463bfb83a49331addf52e63119642b5f443
|
|
|
|
post_extract() {
|
|
sed -i '/raggedright/d' doc/openocd.texi # makeinfo 4.xx
|
|
}
|