include $(TOPDIR)/rules.mk
PKG_NAME:=libucontext
-PKG_VERSION:=1.3.1
+PKG_VERSION:=1.3.2
PKG_RELEASE:=1
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://codeload.github.com/kaniini/libucontext/tar.gz/$(PKG_NAME)-$(PKG_VERSION)?
-PKG_HASH:=1243ee9f03ad38e624f6844427b7bc1f0a05aa5de70f15f3b03805a364b971d6
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://github.com/kaniini/libucontext
+PKG_SOURCE_VERSION:=$(PKG_NAME)-$(PKG_VERSION)
+PKG_MIRROR_HASH:=eef55c05aca03c6d62672838638f49daa95ab8f9bf87126df32cedfe150e333c
PKG_MAINTAINER:=Volker Christian <me@vchrist.at>
PKG_LICENSE:=ISC
PKG_LICENSE_FILES:=LICENSE
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_FLAGS:=no-mips16
-PKG_BUILD_PARALLEL:=1
-PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/meson.mk
+++ /dev/null
---- a/meson.build
-+++ b/meson.build
-@@ -40,7 +40,7 @@ if cpu in ['ppc', 'ppc64']
- 'arch' / cpu / 'retfromsyscall.c'
- ]
- endif
--if cpu not in ['mips', 'mips64', 'ppc', 'ppc64', 's390x']
-+if cpu not in ['loongarch64', 'mips', 'mips64', 'ppc', 'ppc64', 's390x', 'x86']
- project_source_files += [
- 'arch' / cpu / 'trampoline.c'
- ]