Verus Coin - this coin was backdoored by it's lead dev and should not be trusted!
https://git.hush.is/duke/backdoors/src/branch/master/vrsc.md
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.9 KiB
49 lines
1.9 KiB
package=libarchive
|
|
$(package)_version=3.4.1
|
|
$(package)_download_path=https://github.com/libarchive/libarchive/releases/download/v$($(package)_version)
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
|
$(package)_download_file=$(package)-$($(package)_version).tar.gz
|
|
$(package)_config_opts=--with-sysroot=$(host_prefix)/lib
|
|
$(package)_config_opts_linux=--disable-bsdtar --disable-bsdcpio --disable-shared --enable-static --prefix=$(host_prefix) --host=$(HOST)
|
|
$(package)_config_opts_mingw32=--disable-bsdtar --disable-bsdcpio --disable-shared --enable-static --prefix=$(host_prefix) --host=x86_64-w64-mingw32
|
|
$(package)_config_opts_darwin=--disable-bsdtar --disable-bsdcpio --disable-shared --enable-static --prefix=$(host_prefix)
|
|
$(package)_sha256_hash=fcf87f3ad8db2e4f74f32526dee62dd1fb9894782b0a503a89c9d7a70a235191
|
|
$(package)_cflags_darwin=-mmacosx-version-min=10.9
|
|
$(package)_conf_tool=./configure
|
|
|
|
$(package)_dependencies=zlib
|
|
|
|
ifeq ($(build_os),darwin)
|
|
define $(package)_set_vars
|
|
$(package)_build_env=MACOSX_DEPLOYMENT_TARGET="10.9"
|
|
endef
|
|
endif
|
|
|
|
ifeq ($(build_os),linux)
|
|
define $(package)_set_vars
|
|
$(package)_config_env=LD_LIBRARY_PATH="$(host_prefix)/lib" PKG_CONFIG_LIBDIR="$(host_prefix)/lib/pkgconfig" CPPFLAGS="-I$(host_prefix)/include" LDFLAGS="-L$(host_prefix)/lib"
|
|
endef
|
|
endif
|
|
|
|
|
|
define $(package)_config_cmds
|
|
echo '=== config for $(package):' && \
|
|
echo '$($(package)_config_env) $($(package)_conf_tool) $($(package)_config_opts)' && \
|
|
echo '=== ' && \
|
|
$($(package)_config_env) $($(package)_conf_tool) $($(package)_config_opts)
|
|
endef
|
|
|
|
ifeq ($(build_os),darwin)
|
|
define $(package)_build_cmds
|
|
$(MAKE) CPPFLAGS="-I$(host_prefix)/include -fPIC" CFLAGS='-mmacosx-version-min=10.9'
|
|
endef
|
|
else
|
|
define $(package)_build_cmds
|
|
$(MAKE) CPPFLAGS="-I$(host_prefix)/include -fPIC"
|
|
endef
|
|
endif
|
|
|
|
define $(package)_stage_cmds
|
|
echo 'Staging dir: $($(package)_staging_dir)$(host_prefix)/' && \
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
endef
|
|
|