New package: openocd-0.9.0

This commit is contained in:
Christian Neukirchen 2016-01-15 13:50:48 +01:00
parent d04084dbce
commit 40abede05b

40
srcpkgs/openocd/template Normal file
View file

@ -0,0 +1,40 @@
# 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
}