1
0

Makefile 838 B

1234567891011121314151617181920212223242526272829303132333435
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=zstd
  3. PKG_VERSION:=1.5.5
  4. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  5. PKG_SOURCE_URL:=https://github.com/facebook/zstd/releases/download/v$(PKG_VERSION)
  6. PKG_HASH:=9c4396cc829cfae319a6e2615202e82aad41372073482fce286fac78646d3ee4
  7. PKG_LICENSE:=BSD-3-Clause
  8. PKG_LICENSE_FILES:=LICENSE
  9. PKG_CPE_ID:=cpe:/a:facebook:zstandard
  10. include $(INCLUDE_DIR)/host-build.mk
  11. include $(INCLUDE_DIR)/meson.mk
  12. MESON_HOST_BUILD_DIR:=$(HOST_BUILD_DIR)/build/meson/librecmc-build
  13. HOSTCC:= $(HOSTCC_NOCACHE)
  14. MESON_HOST_ARGS += \
  15. -Ddefault_library=static \
  16. -Dlegacy_level=7 \
  17. -Ddebug_level=0 \
  18. -Dbacktrace=disabled \
  19. -Dstatic_runtime=false \
  20. -Dbin_programs=true \
  21. -Dbin_tests=false \
  22. -Dbin_contrib=false \
  23. -Dmulti_thread=enabled \
  24. -Dzlib=disabled \
  25. -Dlzma=disabled \
  26. -Dlz4=disabled
  27. $(eval $(call HostBuild))