diff --git a/ports/rapidcsv/portfile.cmake b/ports/rapidcsv/portfile.cmake new file mode 100644 index 00000000000000..9e2654e7910e01 --- /dev/null +++ b/ports/rapidcsv/portfile.cmake @@ -0,0 +1,16 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO d99kris/rapidcsv + REF v8.50 + SHA512 97eb3eb8e2bbd45d128a73129825b0ce28bf36db14ae21f759b46fefce98980743397e1d34df58cb48707cde0fea9b092438d7720bf67a40e8cd5f289395ba40 + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH ${SOURCE_PATH} +) +vcpkg_cmake_install() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") + +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) diff --git a/ports/rapidcsv/vcpkg.json b/ports/rapidcsv/vcpkg.json new file mode 100644 index 00000000000000..3b5257e01be0a8 --- /dev/null +++ b/ports/rapidcsv/vcpkg.json @@ -0,0 +1,12 @@ +{ + "name": "rapidcsv", + "version": "8.50", + "description": "Rapidcsv is a C++ header-only library for CSV parsing.", + "homepage": "https://github.com/d99kris/rapidcsv/", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 3c8d9e5f0ff5f9..3ed4cf42ee29c1 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5108,6 +5108,10 @@ "baseline": "2020-08-25", "port-version": 0 }, + "rapidcsv": { + "baseline": "8.50", + "port-version": 0 + }, "rapidjson": { "baseline": "2020-09-14", "port-version": 0 diff --git a/versions/r-/rapidcsv.json b/versions/r-/rapidcsv.json new file mode 100644 index 00000000000000..7cc6f9d4c68b42 --- /dev/null +++ b/versions/r-/rapidcsv.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "48075cdee869e9fb897cf5a45aa0159cc742b213", + "version": "8.50", + "port-version": 0 + } + ] +}