diff options
Diffstat (limited to 'testing/libusbmuxd')
-rw-r--r-- | testing/libusbmuxd/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/libusbmuxd/APKBUILD b/testing/libusbmuxd/APKBUILD new file mode 100644 index 0000000000..6dfd91bad4 --- /dev/null +++ b/testing/libusbmuxd/APKBUILD @@ -0,0 +1,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" |