diff options
Diffstat (limited to 'vcpkg/ports/replxx')
| -rw-r--r-- | vcpkg/ports/replxx/portfile.cmake | 20 | ||||
| -rw-r--r-- | vcpkg/ports/replxx/vcpkg.json | 18 |
2 files changed, 38 insertions, 0 deletions
diff --git a/vcpkg/ports/replxx/portfile.cmake b/vcpkg/ports/replxx/portfile.cmake new file mode 100644 index 0000000..140d742 --- /dev/null +++ b/vcpkg/ports/replxx/portfile.cmake @@ -0,0 +1,20 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO AmokHuginnsson/replxx + REF release-0.0.4 + SHA512 5b87d3b53a99ead00a1ff0ee7a158b13339446682da630989643db7d47d4877d5d97c46954dc51cd282c8130c62a4fed5ce74d73d193690a1518fef974c8b497 + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + DISABLE_PARALLEL_CONFIGURE +) + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(CONFIG_PATH "share/cmake/replxx") +vcpkg_copy_pdbs() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") + +file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/vcpkg/ports/replxx/vcpkg.json b/vcpkg/ports/replxx/vcpkg.json new file mode 100644 index 0000000..e82e013 --- /dev/null +++ b/vcpkg/ports/replxx/vcpkg.json @@ -0,0 +1,18 @@ +{ + "name": "replxx", + "version": "0.0.4", + "port-version": 1, + "description": "A small, portable GNU readline replacement for Linux, Windows and MacOS which is capable of handling UTF-8 characters.", + "homepage": "https://github.com/AmokHuginnsson/replxx", + "supports": "!uwp", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |