summaryrefslogtreecommitdiff
path: root/extra/usbmuxd/PKGBUILD
blob: d579eef002305a2b4bb05ac1117746252d1f87f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 101289 2010-11-28 18:01:54Z ibiru $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Gabriel Martinez < reitaka at gmail dot com >

pkgname=usbmuxd
pkgver=1.0.6
pkgrel=2
pkgdesc="USB Multiplex Daemon"
url="http://marcansoft.com/blog/iphonelinux/usbmuxd/"
arch=('i686' 'x86_64')
license=('GPL2' 'GPL3' 'LGPL2.1')
depends=('libusb>=1.0.8')
makedepends=('cmake')
install=usbmuxd.install
source=(http://marcansoft.com/uploads/${pkgname}/${pkgname}-${pkgver}.tar.bz2
	usbmuxd-udevuser.patch)
md5sums=('c8909cfd9253d8d1a5e26f2ff7e5908b'
         '299349dcacd60af9dceecec1ceebce06')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -Np1 -i "${srcdir}/usbmuxd-udevuser.patch"
  mkdir build
  cd build
  cmake ../ -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLIB_SUFFIX=""
  make
  make DESTDIR="${pkgdir}" install
}