summaryrefslogtreecommitdiffstats
path: root/extra/usbmuxd/Pkgfile
blob: 49756ad0ce5f56723d6b4703151f562fef32c437 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Description: Deamon multiplex USB
# URL: http://marcansoft.com/blog/iphonelinux/usbmuxd/
# Maintainer: NuTyX core team
# Packager: lesibel at free dot fr
# Depends on: 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
}