Use upstream tarball for cxxtest
Update source build.sh to use upstream tarball and drop any custom patches at the same time. Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
parent
aeb1def1cd
commit
09fa46fd06
@ -3,25 +3,27 @@ set -e
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
LIB_VERSION=28209
|
||||
PV=4.4
|
||||
LIB_VERSION=${PV}+wfg0
|
||||
|
||||
if [ -e .already-built ] && [ "$(cat .already-built)" = "${LIB_VERSION}" ]; then
|
||||
echo "cxxtest-4.4 is already up to date."
|
||||
if [ -e .already-built ] && [ "$(cat .already-built || true)" = "${LIB_VERSION}" ]; then
|
||||
echo "cxxtest is already up to date."
|
||||
exit
|
||||
fi
|
||||
|
||||
# fetch
|
||||
svn co https://svn.wildfiregames.com/public/source-libs/trunk/cxxtest-4.4@${LIB_VERSION} cxxtest-4.4-svn
|
||||
curl -fLo "cxxtest-${PV}.tar.gz" \
|
||||
"https://github.com/CxxTest/cxxtest/releases/download/${PV}/cxxtest-${PV}.tar.gz"
|
||||
|
||||
# unpack
|
||||
rm -Rf cxxtest-4.4-build
|
||||
cp -R cxxtest-4.4-svn cxxtest-4.4-build
|
||||
rm -Rf "cxxtest-${PV}"
|
||||
tar -xf "cxxtest-${PV}.tar.gz"
|
||||
|
||||
# nothing to actually build
|
||||
# built as part of building tests
|
||||
|
||||
# install
|
||||
rm -Rf bin cxxtest python
|
||||
cp -R cxxtest-4.4-build/bin cxxtest-4.4-build/cxxtest cxxtest-4.4-build/python .
|
||||
cp -R "cxxtest-${PV}/bin" "cxxtest-${PV}/cxxtest" "cxxtest-${PV}/python" .
|
||||
|
||||
echo "${LIB_VERSION}" >.already-built
|
||||
|
Loading…
Reference in New Issue
Block a user