aboutsummaryrefslogtreecommitdiffstats
path: root/testing/usbmuxd/APKBUILD
blob: 962260ae4549c8b508c2a3689d9d87dd3681ba2c (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=usbmuxd
pkgver=1.1.0
pkgrel=0
pkgdesc="USB Multiplex Daemon"
url="http://marcansoft.com/blog/iphonelinux/usbmuxd/"
arch="all"
license="GPL2 GPL3"
depends=""
depends_dev=""
makedepends="$depends_dev libimobiledevice-dev libusb-dev libplist-dev"
install=""
subpackages="$pkgname-doc"
source="http://www.libimobiledevice.org/downloads/usbmuxd-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure \
		--prefix=/usr \
		--sbindir=/usr/bin \
		--enable-shared \
		--without-systemd 
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="${pkgdir}" install
}

md5sums="34361c59320cb0b1f9ebcd2798ee1b39  usbmuxd-1.1.0.tar.bz2"
sha256sums="3e8948b4fe4250ee5c4bd41ccd1b83c09b8a6f5518a7d131a66fd38bd461b42d  usbmuxd-1.1.0.tar.bz2"
sha512sums="66aa0c40e912bf596b819098b87d88e9cf30b2e6352e607eeb778bd4f23bf9bb123fb6a6ecca2d4e4be3171e35d66200d632d2c9c80b1f2462bb45be8aa6912d  usbmuxd-1.1.0.tar.bz2"