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.
46 lines
1.7 KiB
46 lines
1.7 KiB
package=libcurl
|
|
$(package)_version=7.84.0
|
|
$(package)_dependencies=openssl
|
|
$(package)_download_path=https://curl.haxx.se/download
|
|
$(package)_file_name=curl-$($(package)_version).tar.xz
|
|
$(package)_sha256_hash=2d118b43f547bfe5bae806d8d47b4e596ea5b25a6c1f080aef49fbcd817c5db8
|
|
$(package)_config_opts_linux=--disable-shared --enable-static --prefix=$(host_prefix) --host=$(HOST) --with-openssl
|
|
$(package)_config_opts_mingw32=--enable-mingw --disable-shared --enable-static --prefix=$(host_prefix) --host=x86_64-w64-mingw32 --with-openssl
|
|
$(package)_config_opts_darwin=--disable-shared --enable-static --prefix=$(host_prefix) --with-openssl
|
|
$(package)_cflags_darwin=-mmacosx-version-min=10.9
|
|
$(package)_conf_tool=./configure
|
|
|
|
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)
|
|
endef
|
|
endif
|
|
|
|
define $(package)_stage_cmds
|
|
echo 'Staging dir: $($(package)_staging_dir)$(host_prefix)/' && \
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
endef
|