-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[protopuf] Add a new port protopuf (#14446)
* [protopuf] add new port * [protopuf] fix sha512 * [protopuf] add homepage & fix typo * [protopuf] format manifest
- Loading branch information
1 parent
88cf043
commit 10c3837
Showing
2 changed files
with
26 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,20 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO PragmaTwice/protopuf | ||
REF v1.0.0 | ||
SHA512 45644fd586da80a7bb9e434152f2b28b99d45f5679b9fcc173ff3f1abf42d8deb971641351cf67dc3408a86da25ed03154fe612f56983282da32dc3e29333f6c | ||
HEAD_REF master | ||
) | ||
|
||
vcpkg_configure_cmake( | ||
SOURCE_PATH ${SOURCE_PATH} | ||
PREFER_NINJA | ||
OPTIONS | ||
-DBUILD_TESTS=OFF | ||
) | ||
|
||
vcpkg_install_cmake() | ||
|
||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") | ||
|
||
file(INSTALL ${SOURCE_PATH}/LICENSE 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": "protopuf", | ||
"version-string": "1.0.0", | ||
"description": "A little, highly templated, and protobuf-compatible serialization/deserialization library written in C++20", | ||
"homepage": "https://github.com/PragmaTwice/protopuf" | ||
} |