forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[co] Rename port co to cocoyaxi (microsoft#22442)
* rename port co to cocoyaxi * update version * update port version * update sha * rename co to cocoyaxi * update sha * cleanup portfile for cocoyaxi * update sha * add co * update version for co * fix version files Co-authored-by: nicole mazzuca <[email protected]>
- Loading branch information
1 parent
495a0a0
commit 20f8760
Showing
9 changed files
with
90 additions
and
63 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 |
---|---|---|
@@ -1,36 +1 @@ | ||
if(VCPKG_TARGET_IS_WINDOWS OR VCPKG_TARGET_IS_UWP) | ||
vcpkg_fail_port_install(ON_ARCH "arm" ON_TAREGT "uwp") | ||
endif() | ||
|
||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO idealvin/co | ||
REF 3fd22601de4d7a06548ca4d24ac36b4f82cde8c5 #v2.0.3 | ||
SHA512 fc3188355d3d4a8d56ebcca1cb4285be5bb4769328536f140d4ff6fc58f1e5ffe426f8a95506dfbc617acdd88c13d9b0420a03900bf63f83aeec090d4099c199 | ||
HEAD_REF master | ||
) | ||
|
||
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" STATIC_CRT) | ||
|
||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS | ||
FEATURES | ||
libcurl WITH_LIBCURL | ||
openssl WITH_OPENSSL | ||
) | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
${FEATURE_OPTIONS} | ||
-DSTATIC_VS_CRT=${STATIC_CRT} | ||
DISABLE_PARALLEL_CONFIGURE | ||
) | ||
|
||
vcpkg_cmake_install() | ||
|
||
file(REMOVE_RECURSE | ||
"${CURRENT_PACKAGES_DIR}/debug/include" | ||
"${CURRENT_PACKAGES_DIR}/debug/share" | ||
) | ||
|
||
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) | ||
set(VCPKG_POLICY_EMPTY_PACKAGE enabled) |
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 |
---|---|---|
@@ -1,33 +1,11 @@ | ||
{ | ||
"name": "co", | ||
"version-semver": "2.0.3", | ||
"port-version": 1, | ||
"description": "A go-style coroutine library in C++11 and more", | ||
"homepage": "https://github.com/idealvin/co", | ||
"homepage": "https://github.com/idealvin/cocoyaxi", | ||
"supports": "!uwp & !(arm & windows)", | ||
"dependencies": [ | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
} | ||
], | ||
"features": { | ||
"libcurl": { | ||
"description": "libcurl with OpenSSL support", | ||
"dependencies": [ | ||
{ | ||
"name": "curl", | ||
"default-features": false, | ||
"features": [ | ||
"openssl" | ||
] | ||
} | ||
] | ||
}, | ||
"openssl": { | ||
"description": "SSL support (OpenSSL)", | ||
"dependencies": [ | ||
"openssl" | ||
] | ||
} | ||
} | ||
"cocoyaxi" | ||
] | ||
} |
File renamed without changes.
File renamed without changes.
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,32 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO idealvin/cocoyaxi | ||
REF 3fd22601de4d7a06548ca4d24ac36b4f82cde8c5 #v2.0.3 | ||
SHA512 fc3188355d3d4a8d56ebcca1cb4285be5bb4769328536f140d4ff6fc58f1e5ffe426f8a95506dfbc617acdd88c13d9b0420a03900bf63f83aeec090d4099c199 | ||
HEAD_REF master | ||
) | ||
|
||
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" STATIC_CRT) | ||
|
||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS | ||
FEATURES | ||
libcurl WITH_LIBCURL | ||
openssl WITH_OPENSSL | ||
) | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
${FEATURE_OPTIONS} | ||
-DSTATIC_VS_CRT=${STATIC_CRT} | ||
DISABLE_PARALLEL_CONFIGURE | ||
) | ||
|
||
vcpkg_cmake_install() | ||
|
||
file(REMOVE_RECURSE | ||
"${CURRENT_PACKAGES_DIR}/debug/include" | ||
"${CURRENT_PACKAGES_DIR}/debug/share" | ||
) | ||
|
||
file(INSTALL "${SOURCE_PATH}/LICENSE.md" 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,34 @@ | ||
{ | ||
"name": "cocoyaxi", | ||
"version-semver": "2.0.3", | ||
"port-version": 1, | ||
"description": "A go-style coroutine library in C++11 and more", | ||
"homepage": "https://github.com/idealvin/cocoyaxi", | ||
"supports": "!uwp & !(arm & windows)", | ||
"dependencies": [ | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
} | ||
], | ||
"features": { | ||
"libcurl": { | ||
"description": "libcurl with OpenSSL support", | ||
"dependencies": [ | ||
{ | ||
"name": "curl", | ||
"default-features": false, | ||
"features": [ | ||
"openssl" | ||
] | ||
} | ||
] | ||
}, | ||
"openssl": { | ||
"description": "SSL support (OpenSSL)", | ||
"dependencies": [ | ||
"openssl" | ||
] | ||
} | ||
} | ||
} |
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
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": "5d874995d9ab680be3c0bb8d18ceebfd9485f1bd", | ||
"version-semver": "2.0.3", | ||
"port-version": 1 | ||
} | ||
] | ||
} |