1 # Contributor: Matthias Bauch <matthias.bauch@gmail.com>
2 # Contributor: Laszlo Papp <djszapi2 at gmail com>
3 # Maintainer: Samuel Tardieu <sam@rfc1149.net>
8 pkgdesc="Debugging, in-system programming and boundary-scan testing for embedded target devices"
10 url="http://openocd.berlios.de"
13 options=(!strip !libtool)
14 install=openocd.install
15 source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2")
16 md5sums=('43434c2b5353c9b853278b8bff22cb1a')
18 # what features should be enabled on build
19 # 'ecos','zy1000' seams not to be supported on linux
21 _features=(parport ft2232_libftdi amtjtagaccel ep93xx at91rm9200 gw16012 presto_libftdi usbprog oocd_trace jlink vsllink rlink arm-jtag-ew buspirate)
24 cd ${srcdir}/${pkgname}-${pkgver}${_rc}
25 ./configure --prefix=/usr ${_features[@]/#/--enable-} --disable-werror
27 make DESTDIR=${pkgdir}/ install || return 1