diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/tweeny | |
Diffstat (limited to 'vcpkg/ports/tweeny')
| -rw-r--r-- | vcpkg/ports/tweeny/portfile.cmake | 20 | ||||
| -rw-r--r-- | vcpkg/ports/tweeny/vcpkg.json | 16 |
2 files changed, 36 insertions, 0 deletions
diff --git a/vcpkg/ports/tweeny/portfile.cmake b/vcpkg/ports/tweeny/portfile.cmake new file mode 100644 index 0000000..fd26440 --- /dev/null +++ b/vcpkg/ports/tweeny/portfile.cmake @@ -0,0 +1,20 @@ +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO mobius3/tweeny
+ REF v${VERSION}
+ SHA512 f752db8ff5fdff696eb6449adc98af875753e22a9235c059f052dd43aa245e2c510b6c3d25dc52cd350d5f0712f8565364e07790998e4aebf0eb2658f7754bc3
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH "/lib/cmake/Tweeny/")
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib/cmake/Tweeny")
+
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/vcpkg/ports/tweeny/vcpkg.json b/vcpkg/ports/tweeny/vcpkg.json new file mode 100644 index 0000000..445152a --- /dev/null +++ b/vcpkg/ports/tweeny/vcpkg.json @@ -0,0 +1,16 @@ +{ + "name": "tweeny", + "version": "3.2.1", + "description": "A modern C++ tweening library", + "homepage": "https://github.com/mobius3/tweeny", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |