aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libusbmuxd
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-07-20 07:48:01 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-07-20 07:48:01 +0000
commit84b44151dfc0a55dea74170888ed8ceff1e83ec4 (patch)
treed48dde077762bc611e3290d042038aa2f80c6cd9 /testing/libusbmuxd
parentdb14b79dac312f4deb38495154b3c81d0175a956 (diff)
downloadaports-84b44151dfc0a55dea74170888ed8ceff1e83ec4.tar.bz2
aports-84b44151dfc0a55dea74170888ed8ceff1e83ec4.tar.xz
testing/libusbmuxd: moved from unmaintained, added check(), improved APKBUILD
Diffstat (limited to 'testing/libusbmuxd')
-rw-r--r--testing/libusbmuxd/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/libusbmuxd/APKBUILD b/testing/libusbmuxd/APKBUILD
new file mode 100644
index 0000000000..27184f4463
--- /dev/null
+++ b/testing/libusbmuxd/APKBUILD
@@ -0,0 +1,32 @@
+# 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"
+makedepends="libplist-dev libusb-dev"
+subpackages="$pkgname-dev"
+source="http://www.libimobiledevice.org/downloads/libusbmuxd-$pkgver.tar.bz2"
+builddir="$srcdir"/$pkgname-$pkgver
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+build() {
+ cd "$builddir"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="${pkgdir}" install
+}
+
+sha512sums="180cde2e9d0860d07d29813e68abf8ca807f75e98424b50acfc1ce941ba4260922959e1047a7d2bc754470c08ed55d0a15c9367487bd41c635a52b4fbf8ff535 libusbmuxd-1.0.10.tar.bz2"