mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
Version 1.24 ------------ * The CMake-based build system now supports Apple Framework builds. * libdeflate now builds for Windows ARM64EC. * Made another small optimization to the x86 and ARM CRC32 code. * Fixed a compiler warning on certain platforms (issue #416). Version 1.23 ------------ * Fixed bug introduced in 1.20 where incorrect checksums could be calculated if libdeflate was compiled with clang at -O0 and run on a CPU supporting AVX512. * Fixed bug introduced in 1.20 where incorrect checksums could be calculated in rare cases on macOS computers that support AVX512 and are running an older version of macOS that contains a bug that corrupts AVX512 registers. This could occur only if code outside libdeflate enabled AVX512 in the thread. * Fixed build error when using -mno-evex512 with clang 18+ or gcc 14+. * Increased the minimum CMake version to 3.10. * Further optimized the x86 CRC code. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=libdeflate
|
|
PKG_VERSION:=1.24
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://github.com/ebiggers/libdeflate/releases/download/v$(PKG_VERSION)
|
|
PKG_HASH:=a0dda1c4b804742066db07b9510876edd09cc0ca06cdc32c5dfe1b2016a26463
|
|
|
|
PKG_LICENSE:=COPYING
|
|
PKG_LICENSE_FILES:=MIT
|
|
|
|
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
define Package/libdeflate
|
|
SECTION:=libs
|
|
CATEGORY:=Libraries
|
|
TITLE:=library for fast, whole-buffer DEFLATE-based compression and decompression
|
|
URL:=https://github.com/ebiggers/libdeflate
|
|
endef
|
|
|
|
define Package/libdeflate/install
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libdeflate.so* $(1)/usr/lib/
|
|
endef
|
|
|
|
define Build/InstallDev
|
|
$(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib/pkgconfig
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libdeflate.pc $(1)/usr/lib/pkgconfig/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,libdeflate))
|