summaryrefslogtreecommitdiffstats
path: root/extra/usbmuxd/Pkgfile
blob: e97215cb39444ed7f117e3e8388fb04dce4cba05 (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
# Description: Deamon multiplex USB
# URL: http://marcansoft.com/blog/iphonelinux/usbmuxd/
# Maintainer: NuTyX core team
# Packager: lesibel at free dot fr
# Depends on: cmake, libusb1
# Run on: libusb1

name=usbmuxd
version=1.0.6
release=1
source=(http://marcansoft.com/uploads/$name/$name-$version.tar.bz2
	http://nutyx.meticul.eu/files/patchs/$name/usbmuxd-udevuser.patch)

build() {
        cd $name-$version
#	patch -Np1 -i $SRC/usbmuxd-udevuser.patch
	mkdir build
	cd build
	cmake ../ -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLIB_SUFFIX=""
        make
        make DESTDIR=$PKG install
}