aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/libusbmuxd/APKBUILD
blob: 6dfd91bad43b7171ab7d8fe6c085ae647eaea8f5 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libusbmuxd
pkgver=1.0.10
pkgrel=0
pkgdesc="USB Multiplex Daemon"
url="http://marcansoft.com/blog/iphonelinux/usbmuxd/"
arch="all"
license="LGPL2.1"
depends="libplist libusb"
depends_dev="libplist-dev libusb-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://www.libimobiledevice.org/downloads/libusbmuxd-$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
	make
}

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

md5sums="e5351ff6f6eedcb50701e02d91cc480c  libusbmuxd-1.0.10.tar.bz2"
sha256sums="1aa21391265d2284ac3ccb7cf278126d10d354878589905b35e8102104fec9f2  libusbmuxd-1.0.10.tar.bz2"
sha512sums="180cde2e9d0860d07d29813e68abf8ca807f75e98424b50acfc1ce941ba4260922959e1047a7d2bc754470c08ed55d0a15c9367487bd41c635a52b4fbf8ff535  libusbmuxd-1.0.10.tar.bz2"