1 # Contributor: Vincent Kriek <vincent@vincentkriek.nl>
5 pkgdesc="Load program into your TUSB3210"
7 url="http://sourceforge.net/projects/tusb3210/"
9 source=("http://downloads.sourceforge.net/project/tusb3210/Bootloader%20and%20i2c%20Utilities/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz")
12 cd "$srcdir/$pkgname-$pkgver"
14 sed 's/busses())/busses() < 0)/' tusb.c > tusb.tussen
15 sed 's/devices())/devices() < 0)/' tusb.tussen > tusb.c
19 mkdir -p $pkgdir/usr/bin/
20 install -m 755 bootload $pkgdir/usr/bin/bootload
21 install -m 755 i2c-header $pkgdir/usr/bin/i2c-header
22 install -m 755 i2c-rom $pkgdir/usr/bin/i2c-rom
25 # vim:set ts=2 sw=2 et:
27 md5sums=('0b7dca4685ad460be5c61e5066cc9c25')