Skip to content

Commit

Permalink
[elfio] Update elfio to 3.10 (#23263)
Browse files Browse the repository at this point in the history
* [elfio] Update elfio from 3.9 to 3.10

* [elfio] substitute depricated functions
  • Loading branch information
serge1 authored Feb 28, 2022
1 parent 1c5939e commit a0b2608
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 9 deletions.
11 changes: 5 additions & 6 deletions ports/elfio/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO serge1/ELFIO
REF Release_3.9
SHA512 479c4132ac3575940bd1e8190ba5253e54ae57f38319d7bca75ea85ee2f744f5d5b460d2d4ceb17eca0d0561c6e281673f050bbdab2f5ff526c031c220876bf1)
REF Release_3.10
SHA512 f609fe5162d1609d1d65f441dbf01011ca5ae36195d8b3a74dec2b72891e9f8f90d3fdbc9bf893f7186494071606e898e5519fda18665fc88ae9781c504cd4a9)

vcpkg_configure_cmake(
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)

vcpkg_install_cmake()
vcpkg_cmake_install()

vcpkg_fixup_cmake_targets(CONFIG_PATH share/${PORT}/cmake)
vcpkg_cmake_config_fixup(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)
15 changes: 13 additions & 2 deletions ports/elfio/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
{
"name": "elfio",
"version": "3.9",
"version": "3.10",
"description": "A header-only C++ library intended for reading and generating files in the ELF binary format.",
"homepage": "https://github.com/serge1/ELFIO"
"homepage": "https://github.com/serge1/ELFIO",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2009,7 +2009,7 @@
"port-version": 0
},
"elfio": {
"baseline": "3.9",
"baseline": "3.10",
"port-version": 0
},
"elfutils": {
Expand Down
5 changes: 5 additions & 0 deletions versions/e-/elfio.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "76c8087deffd555757001f6c2dcf33f59901290f",
"version": "3.10",
"port-version": 0
},
{
"git-tree": "4c3c450c25f313eba1565d93542dbe2caa17aec4",
"version": "3.9",
Expand Down

0 comments on commit a0b2608

Please sign in to comment.