pkgname=iguanaIR
#pkgver=0.8.0.20061009
pkgver=0.99
pkgrel=3
# leaving kernver dynamic ensures compatibility with srcpac
_kernver=2.6.28-LinHES
pkgdesc="Linux Infrared Remote Control usb from iguanaworks"
arch=(i686 x86_64)
depends=('swig' )
source=(http://iguanaworks.net/downloads/iguanaIR-0.99.tar.bz2)
url="http://iguanaworks.net"
#install=$pkgname.install


build() {
	# configure
	cd $startdir/src/$pkgname-$pkgver || return 1
	./configure
		make || return 1
	make PREFIX=$startdir/pkg/usr DESTDIR=$startdir/pkg install || return 1
	mkdir $startdir/pkg/usr/bin/
	ls -la ig*
	#cp -f igclient $startdir/pkg/usr/bin/
	#cp -f igd* $startdir/pkg/usr/bin/
}