From 5e3a5ea6d0bbec8e109bd5b51ed30c3c77e00e12 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Sun, 10 Jan 2016 12:09:42 +0000 Subject: testing/libimobiledevice: new aport --- testing/libimobiledevice/APKBUILD | 46 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 testing/libimobiledevice/APKBUILD (limited to 'testing/libimobiledevice/APKBUILD') diff --git a/testing/libimobiledevice/APKBUILD b/testing/libimobiledevice/APKBUILD new file mode 100644 index 0000000000..1fc0fdc8bf --- /dev/null +++ b/testing/libimobiledevice/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=libimobiledevice +pkgver=1.2.0 +pkgrel=0 +pkgdesc="Library that talks the protocols to support iPhone and iPod Touch devices on Linux" +url="http://libimobiledevice.org/" +arch="all" +license="GPL2 LGPL2.1" +depends="" +depends_dev="" +makedepends="$depends_dev gnutls-dev openssl-dev libgcrypt-dev + libusbmuxd-dev libtasn1-dev pkgconfig libtool + automake autoconf " +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://libimobiledevice.org/downloads/$pkgname-$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 \ + --disable-static \ + --with-cython + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="8757900ba7bbe2ef5f54342415d0223e libimobiledevice-1.2.0.tar.bz2" +sha256sums="786b0de0875053bf61b5531a86ae8119e320edab724fc62fe2150cc931f11037 libimobiledevice-1.2.0.tar.bz2" +sha512sums="0de5f768aeb5d62445892855d84ceaff776f6667733c351ed6c34bf9d500802762d1a06e5efdf57f33cafc9ee788041cd9b6748fb9bad6c2e4ae2f9b9aa93589 libimobiledevice-1.2.0.tar.bz2" -- cgit v1.2.3