1 #Maintainer: Randy Heydon <randy.heydon at clockworklab dot net>
2 #Based on the PKGBUILD created for libftdi.
6 pkgdesc="Python bindings to libftdi"
8 url="http://www.intra2net.com/en/developer/libftdi/download.php"
9 license=("GPL2" "LGPL2.1")
13 source=("http://www.intra2net.com/en/developer/libftdi/download/libftdi-$pkgver.tar.gz")
14 md5sums=('916f65fa68d154621fc0cf1f405f2726')
15 sha1sums=('52401db0e7cb90a5d83f82c2859a4f8d44e52579')
18 cd "$srcdir/libftdi-$pkgver"
19 sed -i '/no-install/d' examples/Makefile.in
20 ./configure --prefix=/usr --enable-python-binding
25 cd "$srcdir/libftdi-$pkgver"
26 make DESTDIR="$pkgdir" install
28 #Strip out all non-python components
30 #rm -r `ls --hide=usr`
34 rm -r `ls --hide=python2.6`