aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/ltla-aarand
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/ltla-aarand
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/ltla-aarand')
-rw-r--r--vcpkg/ports/ltla-aarand/portfile.cmake25
-rw-r--r--vcpkg/ports/ltla-aarand/vcpkg.json17
2 files changed, 42 insertions, 0 deletions
diff --git a/vcpkg/ports/ltla-aarand/portfile.cmake b/vcpkg/ports/ltla-aarand/portfile.cmake
new file mode 100644
index 0000000..698ac71
--- /dev/null
+++ b/vcpkg/ports/ltla-aarand/portfile.cmake
@@ -0,0 +1,25 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO LTLA/aarand
+ REF "v${VERSION}"
+ SHA512 d14845b57e5dc6cfb62ba7354e76b53b5b06669fde6d5a740a5c41ee9802b67c2b11c80f677e51641e1915d8026e0bb1b7c83bedac73e0c8a2e24251b25a2022
+ HEAD_REF master
+)
+
+set(VCPKG_BUILD_TYPE "release") # header-only port
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DAARAND_TESTS=OFF
+)
+
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(
+ PACKAGE_NAME ltla_aarand
+ CONFIG_PATH lib/cmake/ltla_aarand
+)
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/ltla-aarand/vcpkg.json b/vcpkg/ports/ltla-aarand/vcpkg.json
new file mode 100644
index 0000000..c94c178
--- /dev/null
+++ b/vcpkg/ports/ltla-aarand/vcpkg.json
@@ -0,0 +1,17 @@
+{
+ "name": "ltla-aarand",
+ "version": "1.1.0",
+ "description": "Aaron's random distributions for C++",
+ "homepage": "https://github.com/LTLA/aarand",
+ "license": "MIT",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}