1 # Contributor: blasse <koralik(at)gmail(dot)com>
2 # Contributor: Erez Zarum <erez@erezzarum.com>
3 # Contributor: Nicolas Hureau <kalenz@lse.epita.fr>
9 pkgdesc="Support for iPhone tethering through USB cables. Utils pkg, as driver is in kernel since 2.6.34"
10 arch=('i686' 'x86_64')
11 url="http://giagio.com/wiki/moin.cgi/iPhoneEthernetDriver"
13 depends=('libimobiledevice')
14 makedepends=('git' 'linux>2.6.33')
15 provides=("ipheth=$pkgver")
17 install=ipheth-utils.install
18 source=(http://github.com/downloads/dgiagio/$_realname/$_realname-$pkgver.tar.gz)
19 sha256sums=('c1f9fb0fed81fa284ccf5b939aad8dcb5f77faccf06636141a02ffd3c7941e77')
22 cd "$srcdir/$_realname-$pkgver/ipheth-pair"
24 install -D -m755 ipheth-pair $pkgdir/lib/udev/ipheth-pair || return 1
25 install -D -m644 90-iphone-tether.rules $pkgdir/etc/udev/rules.d/90-iphone-tether.rules || return 1