termux-packages/packages/solidity/build.sh

22 lines
715 B
Bash
Raw Normal View History

2020-08-09 03:20:58 +02:00
TERMUX_PKG_HOMEPAGE=https://solidity.readthedocs.io
2020-08-11 20:07:13 +02:00
TERMUX_PKG_DESCRIPTION="An Ethereum smart contract-oriented language."
2020-08-09 03:20:58 +02:00
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.8.11
TERMUX_PKG_REVISION=1
2020-08-09 03:39:37 +02:00
TERMUX_PKG_SRCURL=https://github.com/ethereum/solidity/releases/download/v${TERMUX_PKG_VERSION}/solidity_${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=b67df542cc19f4181a07050950e235f60a6dcc8018529335701384e632947b5a
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="boost, jsoncpp"
2022-02-06 01:20:59 +01: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"
}