Commit | Line | Data |
---|---|---|
59f0d218 FF |
1 | TERMUX_PKG_HOMEPAGE=https://github.com/open-source-parsers/jsoncpp |
2 | TERMUX_PKG_DESCRIPTION="C++ library for interacting with JSON" | |
2a29b95c | 3 | TERMUX_PKG_VERSION=1.7.7 |
59f0d218 FF |
4 | TERMUX_PKG_SRCURL=https://github.com/open-source-parsers/jsoncpp/archive/${TERMUX_PKG_VERSION}.tar.gz |
5 | TERMUX_PKG_FOLDERNAME=jsoncpp-${TERMUX_PKG_VERSION} | |
58f7a21c | 6 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DBUILD_SHARED_LIBS=ON -DJSONCPP_WITH_TESTS=OFF" |
59f0d218 | 7 | |
58f7a21c | 8 | termux_step_pre_configure () { |
d4145c1a FF |
9 | # The installation does not overwrite symlinks such as libjsoncpp.so.1, |
10 | # so if rebuilding these are not detected as modified. Fix that: | |
11 | rm -f $TERMUX_PREFIX/lib/libjsoncpp.so* | |
59f0d218 | 12 | } |