parent
0cae2fc7c1
commit
fd84b926dc
|
@ -10,3 +10,15 @@ TERMUX_PKG_AUTO_UPDATE=true
|
||||||
TERMUX_PKG_UPDATE_VERSION_REGEXP="\d+\.\d+\.\d+"
|
TERMUX_PKG_UPDATE_VERSION_REGEXP="\d+\.\d+\.\d+"
|
||||||
TERMUX_PKG_BREAKS="libsodium-dev"
|
TERMUX_PKG_BREAKS="libsodium-dev"
|
||||||
TERMUX_PKG_REPLACES="libsodium-dev"
|
TERMUX_PKG_REPLACES="libsodium-dev"
|
||||||
|
|
||||||
|
termux_step_post_get_source() {
|
||||||
|
# Do not forget to bump revision of reverse dependencies and rebuild them
|
||||||
|
# after SOVERSION is changed.
|
||||||
|
local _SOVERSION=23
|
||||||
|
|
||||||
|
local e=$(sed -En 's/^SODIUM_LIBRARY_VERSION=([0-9]+):([0-9]+):([0-9]+).*/\1-\3/p' \
|
||||||
|
configure.ac)
|
||||||
|
if [ ! "${e}" ] || [ "${_SOVERSION}" != "$(( "${e}" ))" ]; then
|
||||||
|
termux_error_exit "SOVERSION guard check failed."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue