aboutsummaryrefslogtreecommitdiffstats
path: root/community/libusbmuxd/APKBUILD
blob: 247a2af107d6a826a5183aae768911e9d6051316 (plain) (blame)
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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libusbmuxd
pkgver=2.0.2
pkgrel=1
pkgdesc="USB Multiplex Daemon"
url="https://marcansoft.com/blog/iphonelinux/usbmuxd/"
arch="all"
license="LGPL-2.1-or-later"
makedepends="libplist-dev libusb-dev automake autoconf libtool"
subpackages="$pkgname-dev $pkgname-doc $pkgname-progs"
source="$pkgname-$pkgver.tar.gz::https://github.com/libimobiledevice/libusbmuxd/archive/$pkgver.tar.gz
	"

prepare() {
	default_prepare
	NOCONFIGURE=1 ./autogen.sh
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--disable-static \
		--prefix=/usr
	make
}

check() {
	make check
}

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

progs() {
	pkgdesc="$pkgdesc - utilities"
	amove usr/bin
}

sha512sums="9b64d5d47f958566432d5c94c51cc42bff0bb700c1d265ac507cfa31ac164fd52526725e9b1686922305c7ea4d3a0df6d469a8cf9a360bd9c22f55f5c8339500  libusbmuxd-2.0.2.tar.gz"