diff --git a/ports/libcurl-simple-https/portfile.cmake b/ports/libcurl-simple-https/portfile.cmake new file mode 100644 index 0000000000..4ea56bdd11 --- /dev/null +++ b/ports/libcurl-simple-https/portfile.cmake @@ -0,0 +1,19 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO SamuelMarks/curl-simple-https + REF 5a115053ba4d249fc1af22c3673b4d014e56bcf5 + SHA512 6274bfeec5235d39c627850b1b6ef03c3f1982c74f937b604137cf3cf87e982f971c4681760b42926a3fb15bc8268f2fa48c197919516066d73f53425aa24545 + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + "-DBUILD_CLI=OFF" +) +vcpkg_cmake_install() +file(INSTALL "${SOURCE_PATH}/cmake/License.txt" + DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" + RENAME copyright) +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" + "${CURRENT_PACKAGES_DIR}/debug/share") diff --git a/ports/libcurl-simple-https/vcpkg.json b/ports/libcurl-simple-https/vcpkg.json new file mode 100644 index 0000000000..beac2afdd5 --- /dev/null +++ b/ports/libcurl-simple-https/vcpkg.json @@ -0,0 +1,18 @@ +{ + "name": "libcurl-simple-https", + "version-date": "2022-02-14", + "description": "Very simple HTTPS interface built atop libcurl", + "license": "Apache-2.0 OR MIT", + "supports": "!uwp", + "dependencies": [ + "curl", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 63a142b537..fb07913cbc 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3412,6 +3412,10 @@ "baseline": "0.3", "port-version": 1 }, + "libcurl-simple-https": { + "baseline": "2022-02-14", + "port-version": 0 + }, "libdatachannel": { "baseline": "0.16.4", "port-version": 0 diff --git a/versions/l-/libcurl-simple-https.json b/versions/l-/libcurl-simple-https.json new file mode 100644 index 0000000000..3c91befa83 --- /dev/null +++ b/versions/l-/libcurl-simple-https.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "6b22a1dafa22c05f8eed41236534a247a28c23d0", + "version-date": "2022-02-14", + "port-version": 0 + } + ] +}