diff options
| author | Buck Yeh <buck-yeh@users.noreply.github.com> | 2021-09-08 05:13:35 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-07 14:13:35 -0700 |
| commit | adad924a918fb111cee2b69f2d5c2288a6b41e58 (patch) | |
| tree | cc0b23718104236ef1473d34e84d8e050074519b | |
| parent | ac2bcf0d6b294bcb728a622fc995ea18f0e1177c (diff) | |
| download | vcpkg-adad924a918fb111cee2b69f2d5c2288a6b41e58.tar.gz vcpkg-adad924a918fb111cee2b69f2d5c2288a6b41e58.zip | |
[buck-yeh-bux] add port (#19670)
* [bux] Add new port
* Corrections according to Create Pull Request suggested questions
* SHA512
* Mark fails into .\scripts\ci.baseline.txt
* Mark fails into .\scripts\ci.baseline.txt
* No need of "port-version": 1 in vcpkg.json
* Update version database
* Update ports/bux/portfile.cmake
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
* Update ports/bux/portfile.cmake
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
* Update ports/bux/portfile.cmake
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
* Update ports/bux/vcpkg.json
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
* Update bux.json
* Update ports/bux/vcpkg.json
* update version
* Update scripts/ci.baseline.txt
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
* update bux support
* update version
* update version
* Rename bux to buck-yeh-bux
* Update version database
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
| -rw-r--r-- | ports/buck-yeh-bux/portfile.cmake | 17 | ||||
| -rw-r--r-- | ports/buck-yeh-bux/vcpkg.json | 18 | ||||
| -rw-r--r-- | versions/b-/buck-yeh-bux.json | 9 | ||||
| -rw-r--r-- | versions/baseline.json | 4 |
4 files changed, 48 insertions, 0 deletions
diff --git a/ports/buck-yeh-bux/portfile.cmake b/ports/buck-yeh-bux/portfile.cmake new file mode 100644 index 000000000..cfcaadc69 --- /dev/null +++ b/ports/buck-yeh-bux/portfile.cmake @@ -0,0 +1,17 @@ +vcpkg_fail_port_install(ON_ARCH "arm" "arm64") +vcpkg_fail_port_install(ON_TARGET "linux" "uwp" "osx") +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO buck-yeh/bux + REF 4636183159f74f350238e6ee59583b34f7e7aca9 # v1.4.1 + SHA512 319cd15c73ca469849cbc364635d7147cfa3fed57d6043b0cb2b52d504a253645518ec6254ddba51fc8cc32cc89e345458530628b331629cabce5b64d8723a6a + HEAD_REF main +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) + +vcpkg_cmake_install() +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/ports/buck-yeh-bux/vcpkg.json b/ports/buck-yeh-bux/vcpkg.json new file mode 100644 index 000000000..3ae078499 --- /dev/null +++ b/ports/buck-yeh-bux/vcpkg.json @@ -0,0 +1,18 @@ +{ + "name": "buck-yeh-bux", + "version": "1.4.1", + "description": "A supplemental C++ library with functionalities not directly supported from Modern C++ standard.", + "homepage": "https://github.com/buck-yeh/bux", + "supports": "!(arm | uwp | osx | linux)", + "dependencies": [ + "fmt", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/versions/b-/buck-yeh-bux.json b/versions/b-/buck-yeh-bux.json new file mode 100644 index 000000000..182971718 --- /dev/null +++ b/versions/b-/buck-yeh-bux.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "4cdd433b94429da69f293e95dd60390daf6966a0", + "version": "1.4.1", + "port-version": 0 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index b440f5dae..0351f2a8d 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1092,6 +1092,10 @@ "baseline": "1.0.0", "port-version": 0 }, + "buck-yeh-bux": { + "baseline": "1.4.1", + "port-version": 0 + }, "bullet3": { "baseline": "3.17", "port-version": 1 |
