binfmt: add riscv32 for ELF PIE on noMMU
[openadk.git] / package / zstd / Makefile
blob79ac805b5d6af8426136b5b96126493130d16240
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= zstd
7 PKG_VERSION:= 1.5.5
8 PKG_RELEASE:= 1
9 PKG_HASH:= 98e9c3d949d1b924e28e01eccb7deed865eefebf25c2f21c702e5cd5b63b85e1
10 PKG_DESCR:= zstandard compression application
11 PKG_SECTION:= app/archive
12 PKG_SITES:= https://github.com/facebook/zstd/archive/refs/tags/
13 PKG_OPTS:= dev
15 DISTFILES:= v$(PKG_VERSION).tar.gz
17 include ${ADK_TOPDIR}/mk/host.mk
18 include $(ADK_TOPDIR)/mk/package.mk
20 $(eval $(call HOST_template,ZSTD,zstd,${PKG_VERSION}-${PKG_RELEASE}))
21 $(eval $(call PKG_template,ZSTD,zstd,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
23 HOST_CONFIG_STYLE:= manual
24 HOST_INSTALL_STYLE:= auto
25 CONFIG_STYLE:= manual
26 ALL_TARGET:= default
27 HOST_ALL_TARGET:= default
29 zstd-install:
30 $(INSTALL_DIR) $(IDIR_ZSTD)/usr/lib
31 $(CP) $(WRKINST)/usr/lib/libzstd*.so* \
32 $(IDIR_ZSTD)/usr/lib
33 $(INSTALL_DIR) $(IDIR_ZSTD)/usr/bin
34 $(INSTALL_BIN) $(WRKINST)/usr/bin/zstd \
35 $(IDIR_ZSTD)/usr/bin
37 include ${ADK_TOPDIR}/mk/host-bottom.mk
38 include $(ADK_TOPDIR)/mk/pkg-bottom.mk