Add CxxUrl

This commit is contained in:
Isaac Connor
2025-09-04 15:59:07 -04:00
parent d8c714cbff
commit 3ea34aef2d

View File

@@ -129,6 +129,17 @@ commonprep () {
exit 1
fi
fi
if [ -e "build/CxxUrl" ]; then
echo "Found existing CxxUrl tarball..."
else
CxxUrlVER="v0.3"
echo "Retrieving CxxUrl ${CxxUrlVER} submodule..."
curl -L https://github.com/chmike/CxxUrl.git/archive/${CxxUrlVER}.tar.gz > build/CxxUrl-${CssUrlVER}.tar.gz
if [ $? -ne 0 ]; then
echo "ERROR: CxxUrl tarball retrieval failed..."
exit 1
fi
fi
}
# Uncompress the submodule tarballs and move them into place
@@ -157,6 +168,14 @@ movecrud () {
rmdir dep/RtspServer
mv -f RtspServer-${RTSPVER} dep/RtspServer
fi
if [ -e "dep/CxxUrl/CMakeLists.txt" ]; then
echo "CxxUrl already installed..."
else
echo "Unpacking CxxUrl..."
tar -xzf build/CxxUrl-${CxxUrlVER}.tar.gz
rmdir dep/CssUrl
mv -f CxxUrl-${CxxUrlVER} dep/CxxUrl
fi
}
# previously part of installzm.sh