mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-13 00:16:45 +02:00
38 lines
900 B
Text
38 lines
900 B
Text
# Contributor: Kasper K <kasperkantz@outlook.com>
|
|
maintainer="Krassy Boykinov <kboykinov@teamcentrixx.com>"
|
|
pkgname=idevicerestore
|
|
pkgver=1.0.0
|
|
pkgrel=4
|
|
pkgdesc="Restore/upgrade firmware of iOS devices"
|
|
url="https://libimobiledevice.org"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later"
|
|
makedepends="libirecovery-dev libimobiledevice-dev libzip-dev curl-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="https://github.com/libimobiledevice/idevicerestore/releases/download/$pkgver/idevicerestore-$pkgver.tar.bz2"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
update_config_sub
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--disable-static
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
d62bd498fd12cacc0cd531a31b39255ee71e082a47de234a1d7bfc270745aec3ed18479fd67aeb2ccdc80e09980b98820e62b284c770e092fe24b96f3fca71a2 idevicerestore-1.0.0.tar.bz2
|
|
"
|