view Common/CryptoPPPackage.sh @ 59:f3c44d61e1e1

AWS S3: Support of dynamic linking against the system-wide Orthanc framework library
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 23 Jun 2021 09:22:22 +0200
parents 9c0dfd10d5d0
children
line wrap: on
line source

#!/bin/bash

set -ex

VERSION=840

TARGET=/tmp/cryptopp-${VERSION}
rm -rf ${TARGET}
mkdir -p ${TARGET}/cryptopp
cd ${TARGET}/cryptopp
wget https://www.cryptopp.com/cryptopp${VERSION}.zip
unzip ./cryptopp${VERSION}.zip
rm ./cryptopp${VERSION}.zip
rm -rf ./TestData
rm -rf ./TestPrograms
rm -rf ./TestVectors
cd /tmp
tar cvfz cryptopp-${VERSION}.tar.gz cryptopp-${VERSION}

md5sum /tmp/cryptopp-${VERSION}.tar.gz