Mercurial > hg > orthanc-object-storage
comparison Common/CryptoPPPackage.sh @ 38:9c0dfd10d5d0
statically link against libcrypto++
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 20 Jan 2021 12:35:23 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
37:f55b2afdf53d | 38:9c0dfd10d5d0 |
---|---|
1 #!/bin/bash | |
2 | |
3 set -ex | |
4 | |
5 VERSION=840 | |
6 | |
7 TARGET=/tmp/cryptopp-${VERSION} | |
8 rm -rf ${TARGET} | |
9 mkdir -p ${TARGET}/cryptopp | |
10 cd ${TARGET}/cryptopp | |
11 wget https://www.cryptopp.com/cryptopp${VERSION}.zip | |
12 unzip ./cryptopp${VERSION}.zip | |
13 rm ./cryptopp${VERSION}.zip | |
14 rm -rf ./TestData | |
15 rm -rf ./TestPrograms | |
16 rm -rf ./TestVectors | |
17 cd /tmp | |
18 tar cvfz cryptopp-${VERSION}.tar.gz cryptopp-${VERSION} | |
19 | |
20 md5sum /tmp/cryptopp-${VERSION}.tar.gz |