Upgrade libcmark to 0.30.2 (#440)

pull/442/head 1.2.61
Michele Locati 2021-09-27 10:06:07 +02:00 committed by GitHub
parent 831fa5de3b
commit 872d4e5302
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 9 deletions

View File

@ -1742,15 +1742,11 @@ installRemoteModule() {
fi fi
fi fi
if ! test -e /usr/local/lib/libcmark.so && ! test -e /usr/local/lib64/libcmark.so && ! test -e /usr/lib/libcmark.so && ! test -e /usr/lib64/libcmark.so && ! test -e /lib/libcmark.so; then if ! test -e /usr/local/lib/libcmark.so && ! test -e /usr/local/lib64/libcmark.so && ! test -e /usr/lib/libcmark.so && ! test -e /usr/lib64/libcmark.so && ! test -e /lib/libcmark.so; then
case "$DISTRO_VERSION" in if test $(compareVersions "$(cmake --version | head -n1 | sed -E 's/^.* //')" '3.7') -lt 0; then
debian@8)
# See https://github.com/commonmark/cmark/issues/384
installRemoteModule_tmp=0.29.0 installRemoteModule_tmp=0.29.0
;; else
*) installRemoteModule_tmp=0.30.2
installRemoteModule_tmp=0.30.1 fi
;;
esac
cd "$(getPackageSource https://github.com/commonmark/cmark/archive/$installRemoteModule_tmp.tar.gz)" cd "$(getPackageSource https://github.com/commonmark/cmark/archive/$installRemoteModule_tmp.tar.gz)"
make -s -j$(getProcessorCount) cmake_build make -s -j$(getProcessorCount) cmake_build
make -s -j$(getProcessorCount) install make -s -j$(getProcessorCount) install