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=expat2$(package)_version=2.7.33$(package)_download_path=https://github.com/libexpat/libexpat/releases/download/R_$(subst .,_,$($(package)_version))/4$(package)_file_name=$(package)-$($(package)_version).tar.gz5$(package)_sha256_hash=821ac9710d2c073eaf13e1b1895a9c9aa66c1157a99635c639fbff65cdbdd7326$(package)_build_subdir=build8define $(package)_set_vars9$(package)_config_opts := -DCMAKE_BUILD_TYPE=None -DEXPAT_BUILD_TOOLS=OFF10$(package)_config_opts += -DEXPAT_BUILD_EXAMPLES=OFF -DEXPAT_BUILD_TESTS=OFF11$(package)_config_opts += -DBUILD_SHARED_LIBS=OFF12endef14define $(package)_config_cmds15$($(package)_cmake) -S .. -B .16endef18define $(package)_build_cmds19$(MAKE)20endef22define $(package)_stage_cmds23$(MAKE) DESTDIR=$($(package)_staging_dir) install24endef26define $(package)_postprocess_cmds27rm -rf share lib/cmake28endef
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.