aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/aklomp-base64
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/aklomp-base64')
-rw-r--r--vcpkg/ports/aklomp-base64/portfile.cmake27
-rw-r--r--vcpkg/ports/aklomp-base64/vcpkg.json17
2 files changed, 44 insertions, 0 deletions
diff --git a/vcpkg/ports/aklomp-base64/portfile.cmake b/vcpkg/ports/aklomp-base64/portfile.cmake
new file mode 100644
index 0000000..b3602b7
--- /dev/null
+++ b/vcpkg/ports/aklomp-base64/portfile.cmake
@@ -0,0 +1,27 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO aklomp/base64
+ REF "v${VERSION}"
+ SHA512 9f8ca8a6e9feb8ad98158d675ec3331e83c77401d2633de0e43b62e794682a9d63c03e1c2599981ad3cdb249e263964f6a79084dbdf2ca19a1e1eed6195a98f4
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DBASE64_BUILD_CLI=OFF
+ -DBASE64_REGENERATE_TABLES=OFF
+ -DBASE64_WERROR=OFF
+ -DBASE64_WITH_OpenMP=OFF
+)
+
+vcpkg_cmake_install()
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+
+vcpkg_cmake_config_fixup(
+ PACKAGE_NAME base64
+ CONFIG_PATH "lib/cmake/base64"
+)
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/aklomp-base64/vcpkg.json b/vcpkg/ports/aklomp-base64/vcpkg.json
new file mode 100644
index 0000000..ffacf3b
--- /dev/null
+++ b/vcpkg/ports/aklomp-base64/vcpkg.json
@@ -0,0 +1,17 @@
+{
+ "name": "aklomp-base64",
+ "version": "0.5.2",
+ "description": "Implementation of a base64 stream encoding/decoding library in C99 with SIMD (AVX2, AVX512, NEON, AArch64/NEON, SSSE3, SSE4.1, SSE4.2, AVX) and OpenMP acceleration",
+ "homepage": "https://github.com/aklomp/base64",
+ "license": "BSD-2-Clause",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}