diff options
| author | Joakim L. Gilje <jgilje@jgilje.net> | 2021-04-28 22:51:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-28 13:51:03 -0700 |
| commit | 05f715e6d0fb815c883dc4c2768334c4fa9019e1 (patch) | |
| tree | 4106c9b57b47d7f103acaac86990d41a69db9b3f /ports | |
| parent | 7ab13e4d6902a2871f5ac3325e64fa6aafdf94c1 (diff) | |
| download | vcpkg-05f715e6d0fb815c883dc4c2768334c4fa9019e1.tar.gz vcpkg-05f715e6d0fb815c883dc4c2768334c4fa9019e1.zip | |
[botan] add arm (#17509)
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/botan/CONTROL | 8 | ||||
| -rw-r--r-- | ports/botan/portfile.cmake | 4 | ||||
| -rw-r--r-- | ports/botan/vcpkg.json | 13 |
3 files changed, 17 insertions, 8 deletions
diff --git a/ports/botan/CONTROL b/ports/botan/CONTROL deleted file mode 100644 index 255e2f116..000000000 --- a/ports/botan/CONTROL +++ /dev/null @@ -1,8 +0,0 @@ -Source: botan -Version: 2.16.0 -Port-Version: 0 -Homepage: https://botan.randombit.net -Description: A cryptography library written in C++11 - -Feature: amalgamation -Description: Do an amalgamation build of the library diff --git a/ports/botan/portfile.cmake b/ports/botan/portfile.cmake index 746dc6e62..cee4a0e27 100644 --- a/ports/botan/portfile.cmake +++ b/ports/botan/portfile.cmake @@ -42,6 +42,10 @@ if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x86") set(BOTAN_FLAG_CPU x86) elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "x64") set(BOTAN_FLAG_CPU x86_64) +elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm") + set(BOTAN_FLAG_CPU arm32) +elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64") + set(BOTAN_FLAG_CPU arm64) else() message(FATAL_ERROR "Unsupported architecture") endif() diff --git a/ports/botan/vcpkg.json b/ports/botan/vcpkg.json new file mode 100644 index 000000000..48b62c95c --- /dev/null +++ b/ports/botan/vcpkg.json @@ -0,0 +1,13 @@ +{ + "name": "botan", + "version": "2.16.0", + "port-version": 1, + "description": "A cryptography library written in C++11", + "homepage": "https://botan.randombit.net", + "supports": "!(windows & arm)", + "features": { + "amalgamation": { + "description": "Do an amalgamation build of the library" + } + } +} |
