# $Id: $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Gabriel Martinez < reitaka at gmail dot com >

pkgname=libusbmuxd
pkgver=1.0.9
pkgrel=1
pkgdesc="USB Multiplex Daemon"
url="http://marcansoft.com/blog/iphonelinux/usbmuxd/"
arch=('i686' 'x86_64')
license=('LGPL2.1' 'GPL2')
depends=('libusb' 'libplist')
conflicts=('usbmuxd<1.0.9')
source=(http://www.libimobiledevice.org/downloads/libusbmuxd-$pkgver.tar.bz2)
md5sums=('3f1d4bd0c0a1a4d7bf96219e117ec499')

build() {
  cd libusbmuxd-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd libusbmuxd-${pkgver}
  make DESTDIR="${pkgdir}" install
}