Mercurial > hg > orthanc-object-storage
annotate Common/CryptoPPPackage.sh @ 68:58a03fce4897
new option for AWS: EnableLegacyUnknownFiles
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 09 Jul 2021 15:40:07 +0200 |
parents | 9c0dfd10d5d0 |
children |
rev | line source |
---|---|
38
9c0dfd10d5d0
statically link against libcrypto++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
1 #!/bin/bash |
9c0dfd10d5d0
statically link against libcrypto++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
2 |
9c0dfd10d5d0
statically link against libcrypto++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
3 set -ex |
9c0dfd10d5d0
statically link against libcrypto++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
4 |
9c0dfd10d5d0
statically link against libcrypto++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
5 VERSION=840 |
9c0dfd10d5d0
statically link against libcrypto++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
6 |
9c0dfd10d5d0
statically link against libcrypto++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
7 TARGET=/tmp/cryptopp-${VERSION} |
9c0dfd10d5d0
statically link against libcrypto++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
8 rm -rf ${TARGET} |
9c0dfd10d5d0
statically link against libcrypto++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
9 mkdir -p ${TARGET}/cryptopp |
9c0dfd10d5d0
statically link against libcrypto++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
10 cd ${TARGET}/cryptopp |
9c0dfd10d5d0
statically link against libcrypto++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
11 wget https://www.cryptopp.com/cryptopp${VERSION}.zip |
9c0dfd10d5d0
statically link against libcrypto++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
12 unzip ./cryptopp${VERSION}.zip |
9c0dfd10d5d0
statically link against libcrypto++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
13 rm ./cryptopp${VERSION}.zip |
9c0dfd10d5d0
statically link against libcrypto++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
14 rm -rf ./TestData |
9c0dfd10d5d0
statically link against libcrypto++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
15 rm -rf ./TestPrograms |
9c0dfd10d5d0
statically link against libcrypto++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
16 rm -rf ./TestVectors |
9c0dfd10d5d0
statically link against libcrypto++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
17 cd /tmp |
9c0dfd10d5d0
statically link against libcrypto++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
18 tar cvfz cryptopp-${VERSION}.tar.gz cryptopp-${VERSION} |
9c0dfd10d5d0
statically link against libcrypto++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
19 |
9c0dfd10d5d0
statically link against libcrypto++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
20 md5sum /tmp/cryptopp-${VERSION}.tar.gz |