1 # Maintainer: Peter Ivanov <ivanovp@gmail.com>
2 # $Id: PKGBUILD 84937 2010-07-05 17:46:04Z eric $
3 # Contributor: Tobias Powalowski <tpowa@archlinux.org>
8 pkgdesc="Enhanced, modern tool for communicating over JTAG with flash chips, CPUs,and many more"
10 url="http://urjtag.org/"
11 license=("GPL2" "LGPL2.1")
13 makedepends=(svn gcc libftd2xx flex bison)
14 #makedepends=(svn gcc flex bison)
16 source=(urjtag_libftd2xx.patch)
17 md5sums=('366620fd96427e69e37dd761dd173be9')
19 _svnroot=http://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk
23 msg "Connecting to SVN server..."
24 if [[ -d $srcdir/$pkgname-$pkgver ]]; then
25 # echo "It has already downloaded!"
26 cd $srcdir/$pkgname-$pkgver && svn update || return 1
28 svn co -r 2008 $_svnroot $srcdir/$pkgname-$pkgver || return 1
29 cd $srcdir/$pkgname-$pkgver
32 msg "SVN checkout done or server timeout"
33 cd "$srcdir/$pkgname-$pkgver/urjtag"
34 if [ ! -f _patched ]; then
35 patch -p1 <../../urjtag_libftd2xx.patch
38 if [ ! -f ./configure ]; then
41 ./configure --prefix=/usr
42 # ./configure --prefix=/usr --without-ftd2xx
43 # ./configure --prefix=/usr CFLAGS="-Wno-error=unused-but-set-variable"
48 cd "$srcdir/$pkgname-$pkgver/urjtag"
49 make DESTDIR="$pkgdir" install