mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2025-12-23 22:37:53 -05:00
Add CxxUrl
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user