diff --git a/utils/idevicerestore/Makefile b/utils/idevicerestore/Makefile index 6138da0f31..afd1849756 100644 --- a/utils/idevicerestore/Makefile +++ b/utils/idevicerestore/Makefile @@ -6,17 +6,19 @@ include $(TOPDIR)/rules.mk PKG_NAME:=idevicerestore -PKG_VERSION:=1.0.0 PKG_RELEASE:=1 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=https://www.libimobiledevice.org/downloads -PKG_HASH:=32712e86315397fd2e8999e77a2d2f790c67f6b4aa50d4d1c64cb2c4609836f7 +PKG_SOURCE_PROTO:=git +PKG_SOURCE_URL:=https://github.com/libimobiledevice/idevicerestore.git +PKG_SOURCE_DATE:=2024-04-04 +PKG_SOURCE_VERSION:=6d40d0ab626eb0ffee4f005b7fdc915bc561deb9 +PKG_MIRROR_HASH:=96906ce58e21914961018adf160459386d322cdec4f66f311555c87bb4b9cbfa PKG_MAINTAINER:=Rosen Penev PKG_LICENSE:=GPL-2.0-or-later PKG_LICENSE_FILES:=COPYING +PKG_FIXUP:=autoreconf PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 @@ -37,6 +39,9 @@ define Package/idevicerestore/description during restore of a firmware to a device. endef +CONFIGURE_ARGS += \ + PACKAGE_VERSION=$(PKG_VERSION) + TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lpthread) define Package/idevicerestore/install