summaryrefslogtreecommitdiffstats
path: root/extra/usbmuxd/Pkgfile
blob: 1beb02ebe67bc54f15630de4210e50b3d7824bea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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

name=usbmuxd
version=1.0.4
release=1
source=(http://marcansoft.com/uploads/$name/$name-$version.tar.bz2
	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
}