-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [ports/dylib] New port Signed-off-by: Martin Olivier <[email protected]> * fix: CPack installation Signed-off-by: Martin Olivier <[email protected]> * fix: added version in baseline && manifest format Signed-off-by: Martin Olivier <[email protected]> * fix: update version database * fix: removed redundant package_name Co-authored-by: JonLiu1993 <[email protected]> * fix: cleanup Co-authored-by: JonLiu1993 <[email protected]> * fix: newline at the end of portfile.cmake Co-authored-by: JonLiu1993 <[email protected]> * fix: cleanup * fix: hash --------- Signed-off-by: Martin Olivier <[email protected]> Co-authored-by: JonLiu1993 <[email protected]>
- Loading branch information
1 parent
7dc6a4e
commit e712423
Showing
4 changed files
with
51 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,21 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO martin-olivier/dylib | ||
REF "v${VERSION}" | ||
SHA512 8e691c1bc73f381ce8ec50d85165c122ba55167b050e696c8b26ccf1ba14999ca8129fb6c5b6c3320166f606acb2c21867d0786347c341d1267815580beb5c0a | ||
HEAD_REF main | ||
) | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
) | ||
|
||
vcpkg_cmake_install() | ||
|
||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/dylib) | ||
|
||
vcpkg_fixup_pkgconfig() | ||
|
||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") | ||
|
||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") |
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 @@ | ||
{ | ||
"name": "dylib", | ||
"version-semver": "2.2.1", | ||
"description": "C++ cross-platform wrapper around dynamic loading of shared libraries", | ||
"homepage": "https://github.com/martin-olivier/dylib", | ||
"license": "MIT", | ||
"dependencies": [ | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
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
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,9 @@ | ||
{ | ||
"versions": [ | ||
{ | ||
"git-tree": "5fcb0f058217dc6352d308f18015ef37b3f5f23c", | ||
"version-semver": "2.2.1", | ||
"port-version": 0 | ||
} | ||
] | ||
} |