diff --git a/ports/buck-yeh-bux/portfile.cmake b/ports/buck-yeh-bux/portfile.cmake new file mode 100644 index 0000000000..cfcaadc696 --- /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 0000000000..3ae0784990 --- /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 0000000000..1829717189 --- /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 b440f5dae3..0351f2a8d7 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