termux-packages/packages/ledger/build.sh

20 lines
776 B
Bash
Raw Normal View History

2018-09-15 01:46:16 +02:00
TERMUX_PKG_HOMEPAGE=https://www.ledger-cli.org
2015-11-01 23:32:01 +01:00
TERMUX_PKG_DESCRIPTION="Powerful, double-entry accounting system"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
2020-05-26 15:56:32 +02:00
TERMUX_PKG_VERSION=3.2.1
TERMUX_PKG_REVISION=7
2019-04-04 00:11:36 +02:00
TERMUX_PKG_SRCURL=https://github.com/ledger/ledger/archive/v${TERMUX_PKG_VERSION}.tar.gz
2020-05-26 15:56:32 +02:00
TERMUX_PKG_SHA256=92bf09bc385b171987f456fe3ee9fa998ed5e40b97b3acdd562b663aa364384a
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="boost, libc++, libedit, libmpfr, libgmp, python"
TERMUX_PKG_BREAKS="ledger-dev"
TERMUX_PKG_REPLACES="ledger-dev"
TERMUX_PKG_BUILD_DEPENDS="utf8cpp"
2019-05-07 23:43:29 +02:00
# See https://gitlab.kitware.com/cmake/cmake/issues/18865:
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DBoost_NO_BOOST_CMAKE=ON
-DUSE_PYTHON=ON
-DUTFCPP_PATH=$TERMUX_PREFIX/include/utf8cpp
"