aboutsummaryrefslogtreecommitdiffstats
path: root/testing/usbmuxd/APKBUILD
blob: 82fbed193f9f925d99d193e61c4e3b8ef82891c8 (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=usbmuxd
pkgver=1.1.0
pkgrel=0
pkgdesc="Socket Daemon to multiplex connections from iOS"
url="https://github.com/libimobiledevice/usbmuxd"
arch="all"
makedepends="automake autoconf libtool libusb-dev libplist-dev
	libimobiledevice-dev"
license="GPL-2.0-or-later"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/libimobiledevice/usbmuxd/archive/$pkgver.tar.gz"

prepare() {
	default_prepare
	autoreconf -fi
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--without-systemd
	make
}

check() {
	make check
}

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

sha512sums="c9735ca7294927a6ec42edbd948e6736e366e0b9fac90c109f3066dfe71b2aeb0272ce2a33784be30c4188f0a3a65f29e4515ae041ed7cf01d9d95ea751c2284  usbmuxd-1.1.0.tar.gz"