diff options
| author | Matt Schulte <schultetwin1@gmail.com> | 2020-11-02 19:17:00 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-02 19:17:00 -0800 |
| commit | 6f81d2fe9fbc805f2eae6b6e8d0b09f850d11e3d (patch) | |
| tree | 3a8e975dd93e5d0f267ece2ea31f6966020291fe | |
| parent | b36ada7d7514062e994f1bcb30b4870c7b6a0a87 (diff) | |
| download | vcpkg-6f81d2fe9fbc805f2eae6b6e8d0b09f850d11e3d.tar.gz vcpkg-6f81d2fe9fbc805f2eae6b6e8d0b09f850d11e3d.zip | |
[elfio] Add new vcpkg port elfio (#14314)
| -rw-r--r-- | ports/elfio/portfile.cmake | 17 | ||||
| -rw-r--r-- | ports/elfio/vcpkg.json | 6 |
2 files changed, 23 insertions, 0 deletions
diff --git a/ports/elfio/portfile.cmake b/ports/elfio/portfile.cmake new file mode 100644 index 000000000..1d42f0196 --- /dev/null +++ b/ports/elfio/portfile.cmake @@ -0,0 +1,17 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO serge1/ELFIO + REF Release_3.8 + SHA512 befaa793301750d8de3decf138dfac2003fea36028f509959a96ed710e82e679ffd57370666996c4ee932d0c86f8be0d05d12a1ab78850ef26d1cc4d39b9b039) + +vcpkg_configure_cmake( + SOURCE_PATH ${SOURCE_PATH} + PREFER_NINJA +) + +vcpkg_install_cmake() + +vcpkg_fixup_cmake_targets(CONFIG_PATH share/${PORT}/cmake) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") +file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) diff --git a/ports/elfio/vcpkg.json b/ports/elfio/vcpkg.json new file mode 100644 index 000000000..427aeca5c --- /dev/null +++ b/ports/elfio/vcpkg.json @@ -0,0 +1,6 @@ +{ + "name": "elfio", + "version-string": "3.8", + "description": "A header-only C++ library intended for reading and generating files in the ELF binary format.", + "homepage": "https://github.com/serge1/ELFIO" +} |
