monero/contrib/depends/packages/freebsd_base.mk

21 lines
857 B
Makefile
Raw Normal View History

2019-11-11 10:34:47 +02:00
package=freebsd_base
2024-08-25 18:45:37 +03:00
$(package)_version=12.3
2024-10-13 18:45:08 +03:00
$(package)_download_path=https://archive.freebsd.org/old-releases/amd64/$($(package)_version)-RELEASE/
2019-11-11 10:34:47 +02:00
$(package)_download_file=base.txz
$(package)_file_name=freebsd-base-$($(package)_version).txz
2024-08-25 18:45:37 +03:00
$(package)_sha256_hash=e85b256930a2fbc04b80334106afecba0f11e52e32ffa197a88d7319cf059840
2019-11-11 10:34:47 +02:00
define $(package)_extract_cmds
echo $($(package)_sha256_hash) $($(1)_source_dir)/$($(package)_file_name) | sha256sum -c &&\
tar xf $($(1)_source_dir)/$($(package)_file_name) ./lib/ ./usr/lib/ ./usr/include/
endef
2023-07-02 22:00:24 +03:00
# Prevent clang from including OpenSSL headers from the system base. We
# statically link our own version of OpenSSL.
2019-11-11 10:34:47 +02:00
define $(package)_stage_cmds
mkdir $($(package)_staging_dir)/$(host_prefix)/native &&\
2023-07-02 22:00:24 +03:00
rm -rf usr/include/openssl &&\
mv lib usr $($(package)_staging_dir)/$(host_prefix)/native
2019-11-11 10:34:47 +02:00
endef