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/lzokay | |
Diffstat (limited to 'vcpkg/ports/lzokay')
| -rw-r--r-- | vcpkg/ports/lzokay/portfile.cmake | 22 | ||||
| -rw-r--r-- | vcpkg/ports/lzokay/vcpkg.json | 16 |
2 files changed, 38 insertions, 0 deletions
diff --git a/vcpkg/ports/lzokay/portfile.cmake b/vcpkg/ports/lzokay/portfile.cmake new file mode 100644 index 0000000..497c049 --- /dev/null +++ b/vcpkg/ports/lzokay/portfile.cmake @@ -0,0 +1,22 @@ +vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO AxioDL/lzokay
+ REF db2df1fcbebc2ed06c10f727f72567d40f06a2be
+ SHA512 0e0c597cb74985ef2fc3329392dadf87c0ffc84287cdb2f04e6a70d2e74dcc79732de18872ff05d0906fac2d53749c3db6f2ccd32b906f5a8b81310810eae8eb
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+vcpkg_copy_pdbs()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
\ No newline at end of file diff --git a/vcpkg/ports/lzokay/vcpkg.json b/vcpkg/ports/lzokay/vcpkg.json new file mode 100644 index 0000000..21676ce --- /dev/null +++ b/vcpkg/ports/lzokay/vcpkg.json @@ -0,0 +1,16 @@ +{ + "name": "lzokay", + "version-date": "2023-10-22", + "description": "lzokay – MIT licensed C++ implementation of LZO compression/decompression algorithm", + "homepage": "https://github.com/AxioDL/lzokay", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |