diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2020-05-13 20:22:12 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2020-05-31 11:03:30 +0200 |
commit | 258dc0d0fd3aae47add9b7dca40848a92d03a4ea (patch) | |
tree | ea14e7876ba29e41f0806a70d9bba42ec739b9a0 /tools/zstd/Makefile | |
parent | f166cf9ca07ceb023db356532cf4154ef433322a (diff) | |
download | upstream-258dc0d0fd3aae47add9b7dca40848a92d03a4ea.tar.gz upstream-258dc0d0fd3aae47add9b7dca40848a92d03a4ea.tar.bz2 upstream-258dc0d0fd3aae47add9b7dca40848a92d03a4ea.zip |
tools: add zstd
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'tools/zstd/Makefile')
-rw-r--r-- | tools/zstd/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/zstd/Makefile b/tools/zstd/Makefile new file mode 100644 index 0000000000..7459725e8e --- /dev/null +++ b/tools/zstd/Makefile @@ -0,0 +1,20 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=zstd +PKG_VERSION:=1.4.4 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=@GITHUB/facebook/zstd/releases/download/v$(PKG_VERSION) +PKG_HASH:=a364f5162c7d1a455cc915e8e3cf5f4bd8b75d09bc0f53965b0c9ca1383c52c8 + +PKG_LICENSE:=BSD-3-Clause +PKG_LICENSE_FILES:=LICENSE +PKG_CPE_ID:=cpe:/a:facebook:zstandard + +HOST_BUILD_PARALLEL:=1 + +include $(INCLUDE_DIR)/host-build.mk + +HOST_MAKE_FLAGS = PREFIX=$(HOST_BUILD_PREFIX) HAVE_ZLIB=0 HAVE_LZMA=0 HAVE_LZ4=0 + +$(eval $(call HostBuild)) |