diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-01-10 12:12:25 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-01-10 12:12:25 +0000 |
commit | 861df965ff63f9cdeb71c2a26a1d9cc8280ee2cb (patch) | |
tree | c2e8879a3acc6f5c2559123d83dc73b4f5bcbf26 /testing/ideviceinstaller | |
parent | c03ac45981bca5d5ba03063555319d9c1d35f99f (diff) | |
download | aports-861df965ff63f9cdeb71c2a26a1d9cc8280ee2cb.tar.bz2 aports-861df965ff63f9cdeb71c2a26a1d9cc8280ee2cb.tar.xz |
testing/ideviceinstaller: new aport
Diffstat (limited to 'testing/ideviceinstaller')
-rw-r--r-- | testing/ideviceinstaller/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/ideviceinstaller/APKBUILD b/testing/ideviceinstaller/APKBUILD new file mode 100644 index 0000000000..48a81cf32f --- /dev/null +++ b/testing/ideviceinstaller/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=ideviceinstaller +pkgver=1.1.0 +pkgrel=0 +pkgdesc="Manage Applications of an iPhone or iPod Touch" +url="http://www.libimobiledevice.org/" +arch="all" +license="LGPL2.1" +depends="" +depends_dev="" +makedepends="$depends_dev libimobiledevice-dev libzip-dev" +install="" +subpackages="$pkgname-doc" +source="http://www.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 + sed -i -e 's:-Werror -g::' configure || return 1 +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="20bd74111c1e8bf7ce393f8f0919263c ideviceinstaller-1.1.0.tar.bz2" +sha256sums="0821b8d3ca6153d9bf82ceba2706f7bd0e3f07b90a138d79c2448e42362e2f53 ideviceinstaller-1.1.0.tar.bz2" +sha512sums="8bf5dc30b8fa2f0c171ec3705db8d8d143d2520b2875fc05d9d325bd4f1ffdf29230557e57f3e824654ab3bb71bbaf9019aa573d4b1cce29a9c75bf15024d623 ideviceinstaller-1.1.0.tar.bz2" |