1 # Contributor: Nate Rhodes <nate.rhodes at gmail.com>
2 # Created: January 2008
7 pkgdesc="A small utility to access the Cypress Semiconductor CY7C68013 chip."
9 url="http://volodya-project.sourceforge.net/fx2_programmer.php"
11 depends=('freeglut' 'fftw' 'libusb')
12 source=("http://downloads.sourceforge.net/volodya-project/$pkgname-$pkgver.tgz")
13 md5sums=('ff2878e900b6cbae427320e54e94f28d')
17 cd "$startdir/src/$pkgname"
19 # Set up the "install" directories
20 mkdir -p "$startdir/pkg/usr/bin"
22 # Update 'install' rule to put binaries in right place
23 sed -i.orig "s|\${PREFIX}/bin/|$startdir/pkg/usr/bin|g" Makefile
27 make DESTDIR="$startdir/pkg/usr/bin" install || return 1