1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-18 22:27:09 +00:00
termux-packages/packages/solidity/build.sh

22 lines
735 B
Bash
Raw Normal View History

2020-08-09 01:20:58 +00:00
TERMUX_PKG_HOMEPAGE=https://solidity.readthedocs.io
TERMUX_PKG_DESCRIPTION="An Ethereum smart contract-oriented language"
2020-08-09 01:20:58 +00:00
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.8.16"
2020-08-09 01:39:37 +00:00
TERMUX_PKG_SRCURL=https://github.com/ethereum/solidity/releases/download/v${TERMUX_PKG_VERSION}/solidity_${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=ba1a690a3583f17c039e6d480970f687f959d9c0fcb2e77ac72a0a0c7efa2056
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="boost, jsoncpp"
TERMUX_PKG_BUILD_DEPENDS="boost-headers"
2022-02-06 00:20:59 +00:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DUSE_Z3=OFF
-DUSE_CVC4=OFF
-DUSE_LD_GOLD=OFF
-DBoost_USE_STATIC_LIBS=OFF
"
TERMUX_CMAKE_BUILD="Unix Makefiles"
termux_step_pre_configure() {
LDFLAGS+=" -ljsoncpp"
}