tools: add zstd
[openwrt/openwrt.git] / tools / zstd / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=zstd
4 PKG_VERSION:=1.4.4
5
6 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
7 PKG_SOURCE_URL:=@GITHUB/facebook/zstd/releases/download/v$(PKG_VERSION)
8 PKG_HASH:=a364f5162c7d1a455cc915e8e3cf5f4bd8b75d09bc0f53965b0c9ca1383c52c8
9
10 PKG_LICENSE:=BSD-3-Clause
11 PKG_LICENSE_FILES:=LICENSE
12 PKG_CPE_ID:=cpe:/a:facebook:zstandard
13
14 HOST_BUILD_PARALLEL:=1
15
16 include $(INCLUDE_DIR)/host-build.mk
17
18 HOST_MAKE_FLAGS = PREFIX=$(HOST_BUILD_PREFIX) HAVE_ZLIB=0 HAVE_LZMA=0 HAVE_LZ4=0
19
20 $(eval $(call HostBuild))