aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/aurora-au/portfile.cmake
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/aurora-au/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/aurora-au/portfile.cmake')
-rw-r--r--vcpkg/ports/aurora-au/portfile.cmake26
1 files changed, 26 insertions, 0 deletions
diff --git a/vcpkg/ports/aurora-au/portfile.cmake b/vcpkg/ports/aurora-au/portfile.cmake
new file mode 100644
index 0000000..d420667
--- /dev/null
+++ b/vcpkg/ports/aurora-au/portfile.cmake
@@ -0,0 +1,26 @@
+set(VCPKG_BUILD_TYPE release) # header-only
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO aurora-opensource/au
+ REF "${VERSION}"
+ SHA512 4be3d1c4f595852d57352572d58137b98c5a51074926cf06fe65420c277f72dc2f03d61bb25e87ceb3e4050181145557766e77af19c6aee7b0d1fe7ec3a8029b
+ HEAD_REF main
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DAU_EXCLUDE_GTEST_DEPENDENCY=1
+ )
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(
+ CONFIG_PATH lib/cmake/Au
+)
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib") # Remove empty directory
+file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")