aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKasper K <kasperkantz@outlook.com>2021-05-30 14:29:28 +0000
committerLeo <thinkabit.ukim@gmail.com>2021-06-01 12:39:24 +0000
commite3123f04983311ef015970312d6329f5c909cde4 (patch)
treee6464e623bbd19b1c66835691425226165442c32
parent46047bdc4591ba74cb7961ea5712e910bfecaf95 (diff)
downloadaports-e3123f04983311ef015970312d6329f5c909cde4.tar.gz
aports-e3123f04983311ef015970312d6329f5c909cde4.tar.bz2
aports-e3123f04983311ef015970312d6329f5c909cde4.tar.xz
testing/libirecovery: new aport
-rw-r--r--testing/libirecovery/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/libirecovery/APKBUILD b/testing/libirecovery/APKBUILD
new file mode 100644
index 0000000000..a56b00f3a5
--- /dev/null
+++ b/testing/libirecovery/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Kasper K <kasperkantz@outlook.com>
+# Maintainer: Kasper K <kasperkantz@outlook.com>
+pkgname=libirecovery
+pkgver=1.0.0
+pkgrel=0
+pkgdesc="Library and utility to talk to iBoot/iBSS via USB on Mac OS X, Windows, and Linux"
+url="https://libimobiledevice.org"
+arch="all"
+license="LGPL-2.1-or-later"
+makedepends="readline-dev libusb-dev"
+subpackages="$pkgname-dev $pkgname-progs"
+source="https://github.com/libimobiledevice/libirecovery/releases/download/$pkgver/libirecovery-$pkgver.tar.bz2"
+
+build() {
+ ./configure \
+ --host=$CHOST \
+ --build=$CBUILD \
+ --prefix=/usr \
+ --disable-static
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+progs() {
+ pkgdesc="Tools that talks iPhone and iPod Touch devices' protocols on Linux"
+ depends=""
+ amove usr/bin
+}
+
+sha512sums="7e6f53766c85c714c2d4088e880f56486bcb4d198a9da1108d31f8f1a2444f45ac319a90a4706d00a24cbddc0af9ce8dddf267ba458fe3fa225cc14ea7150797 libirecovery-1.0.0.tar.bz2"