Inside Bitcoin
Opening the selected file…
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
1package=freetype2$(package)_version=2.11.13$(package)_download_path=https://download.savannah.gnu.org/releases/$(package)4$(package)_file_name=$(package)-$($(package)_version).tar.gz5$(package)_sha256_hash=f8db94d307e9c54961b39a1cc799a67d46681480696ed72ecf78d4473770f09b6$(package)_build_subdir=build7$(package)_patches += cmake_minimum.patch8$(package)_patches += openbsd_versioning.patch10define $(package)_set_vars11$(package)_config_opts := -DCMAKE_BUILD_TYPE=None -DBUILD_SHARED_LIBS=TRUE12$(package)_config_opts += -DCMAKE_DISABLE_FIND_PACKAGE_ZLIB=TRUE -DCMAKE_DISABLE_FIND_PACKAGE_PNG=TRUE13$(package)_config_opts += -DCMAKE_DISABLE_FIND_PACKAGE_HarfBuzz=TRUE -DCMAKE_DISABLE_FIND_PACKAGE_BZip2=TRUE14$(package)_config_opts += -DCMAKE_DISABLE_FIND_PACKAGE_BrotliDec=TRUE15endef17define $(package)_preprocess_cmds18patch -p1 < $($(package)_patch_dir)/cmake_minimum.patch && \19patch -p1 < $($(package)_patch_dir)/openbsd_versioning.patch20endef22define $(package)_config_cmds23$($(package)_cmake) -S .. -B .24endef26define $(package)_build_cmds27$(MAKE)28endef30define $(package)_stage_cmds31$(MAKE) DESTDIR=$($(package)_staging_dir) install32endef
Independent explanations by MyBitcoinExplorer. Not affiliated with or endorsed by Bitcoin Core. Guides are educational and do not replace the source or its tests.
Bitcoin Core source © its contributors, distributed under the MIT license. Original notices and bundled third-party licenses are retained in the source tree.