parent
1645c37455
commit
c5817400d4
|
@ -11,6 +11,18 @@ TERMUX_PKG_REPLACES="libmaxminddb-dev"
|
||||||
TERMUX_PKG_BUILD_IN_SRC=true
|
TERMUX_PKG_BUILD_IN_SRC=true
|
||||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-tests"
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-tests"
|
||||||
|
|
||||||
|
termux_step_post_get_source() {
|
||||||
|
# Do not forget to bump revision of reverse dependencies and rebuild them
|
||||||
|
# after SOVERSION is changed.
|
||||||
|
local _SOVERSION=0.0.7
|
||||||
|
|
||||||
|
local v=$(sed -En 's/^set\(MAXMINDDB_SOVERSION\s+([0-9.]+).*/\1/p' \
|
||||||
|
CMakeLists.txt)
|
||||||
|
if [ "${v}" != "${_SOVERSION}" ]; then
|
||||||
|
termux_error_exit "SOVERSION guard check failed."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
termux_step_pre_configure() {
|
termux_step_pre_configure() {
|
||||||
./bootstrap
|
./bootstrap
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue