Mercurial > hg > orthanc-object-storage
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Common/CryptoPPPackage.sh Wed Jan 20 12:35:23 2021 +0100 @@ -0,0 +1,20 @@ +#!/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