diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-01-10 12:11:35 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-01-10 12:11:35 +0000 |
commit | c03ac45981bca5d5ba03063555319d9c1d35f99f (patch) | |
tree | 1b0ed90f11a11cf1b490ae950520a93c33ed15bc /testing/usbmuxd | |
parent | 5e3a5ea6d0bbec8e109bd5b51ed30c3c77e00e12 (diff) | |
download | aports-c03ac45981bca5d5ba03063555319d9c1d35f99f.tar.bz2 aports-c03ac45981bca5d5ba03063555319d9c1d35f99f.tar.xz |
testing/usbmuxd: new aport
Diffstat (limited to 'testing/usbmuxd')
-rw-r--r-- | testing/usbmuxd/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/testing/usbmuxd/APKBUILD b/testing/usbmuxd/APKBUILD new file mode 100644 index 0000000000..962260ae45 --- /dev/null +++ b/testing/usbmuxd/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=usbmuxd +pkgver=1.1.0 +pkgrel=0 +pkgdesc="USB Multiplex Daemon" +url="http://marcansoft.com/blog/iphonelinux/usbmuxd/" +arch="all" +license="GPL2 GPL3" +depends="" +depends_dev="" +makedepends="$depends_dev libimobiledevice-dev libusb-dev libplist-dev" +install="" +subpackages="$pkgname-doc" +source="http://www.libimobiledevice.org/downloads/usbmuxd-$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 \ + --sbindir=/usr/bin \ + --enable-shared \ + --without-systemd + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="${pkgdir}" install +} + +md5sums="34361c59320cb0b1f9ebcd2798ee1b39 usbmuxd-1.1.0.tar.bz2" +sha256sums="3e8948b4fe4250ee5c4bd41ccd1b83c09b8a6f5518a7d131a66fd38bd461b42d usbmuxd-1.1.0.tar.bz2" +sha512sums="66aa0c40e912bf596b819098b87d88e9cf30b2e6352e607eeb778bd4f23bf9bb123fb6a6ecca2d4e4be3171e35d66200d632d2c9c80b1f2462bb45be8aa6912d usbmuxd-1.1.0.tar.bz2" |