Files
termux-packages/packages/solidity/build.sh
termux-pacman-bot 2e6a665d14 bump(main/solidity): 0.8.26
* Use nlohmann-json and range-v3 from packages.
* Use vendored fmtlib because fmt::fmt-header-only target can not be found.
* Replace EthCompilerSettings.cmake.patch with -DPEDANTIC=OFF option.
* Replace libsolutil-JSON.cpp.patch with -DSTRICT_NLOHMANN_JSON_VERSION=OFF option.
* jsoncpp was replaced with nlohmann-json in
  87d86bfba6
2024-05-22 15:08:39 +00:00

21 lines
755 B
Bash

TERMUX_PKG_HOMEPAGE=https://solidity.readthedocs.io
TERMUX_PKG_DESCRIPTION="An Ethereum smart contract-oriented language"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.8.26"
TERMUX_PKG_SRCURL=https://github.com/ethereum/solidity/releases/download/v${TERMUX_PKG_VERSION}/solidity_${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=5d48c9a38e101eb494bc58e20cf3786a8910d89c2ca0073ab04738edd30cf03a
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="boost, libc++"
TERMUX_PKG_BUILD_DEPENDS="boost-headers, nlohmann-json, range-v3"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DPEDANTIC=OFF
-DSTRICT_NLOHMANN_JSON_VERSION=OFF
-DTESTS=OFF
-DUSE_Z3=OFF
-DUSE_CVC4=OFF
-DUSE_LD_GOLD=OFF
-DUSE_SYSTEM_LIBRARIES=ON
-DBoost_USE_STATIC_LIBS=OFF
"