-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[elfio] Add new vcpkg port elfio (#14314)
- Loading branch information
1 parent
b36ada7
commit 6f81d2f
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |