summaryrefslogtreecommitdiff
path: root/community/openocd
diff options
context:
space:
mode:
Diffstat (limited to 'community/openocd')
-rw-r--r--community/openocd/PKGBUILD26
1 files changed, 12 insertions, 14 deletions
diff --git a/community/openocd/PKGBUILD b/community/openocd/PKGBUILD
index 889755cbc..798eeccc5 100644
--- a/community/openocd/PKGBUILD
+++ b/community/openocd/PKGBUILD
@@ -1,33 +1,31 @@
+# $Id: PKGBUILD 76200 2012-09-13 18:36:22Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com>
# Contributor: Matthias Bauch <matthias.bauch@gmail.com>
# Contributor: Laszlo Papp <djszapi2 at gmail com>
# Contributor: Samuel Tardieu <sam@rfc1149.net>
pkgname=openocd
-pkgver=0.5.0
-pkgrel=2
-pkgdesc="Debugging, in-system programming and boundary-scan testing for embedded target devices"
+pkgver=0.6.0
+pkgrel=1
+pkgdesc='Debugging, in-system programming and boundary-scan testing for embedded target devices'
arch=('i686' 'x86_64')
-url="http://openocd.berlios.de"
+url='http://openocd.berlios.de'
license=('GPL')
depends=('libftdi')
options=(!strip !libtool)
install=openocd.install
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2")
-md5sums=('43434c2b5353c9b853278b8bff22cb1a')
+md5sums=('824cbe192ca2c79055b6ae82579123cf')
-# what features should be enabled on build
-# 'ecos','zy1000' seams not to be supported on linux
-
-_features=(parport ft2232_libftdi amtjtagaccel ep93xx at91rm9200 gw16012 presto_libftdi usbprog oocd_trace jlink vsllink rlink arm-jtag-ew buspirate)
+_features=(parport ft2232_libftdi amtjtagaccel ep93xxat91rm9200gw16012 presto_libftdi usbprog oocd_trace jlink vsllink rlink arm-jtag-ew buspirate)
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr ${_features[@]/#/--enable-} --disable-werror
- make
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr ${_features[@]/#/--enable-} --disable-werror
+ make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
}