aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorautoantwort <41973254+autoantwort@users.noreply.github.com>2021-04-08 00:06:20 +0200
committerGitHub <noreply@github.com>2021-04-07 15:06:20 -0700
commitfddf97411017bfcd7dd988d754b25efc3d6a1c3e (patch)
tree85860c2e71250a5831ec717a63ad97882920b0b7
parent9d807041270262cc108b8deda60550a2cd95db1a (diff)
downloadvcpkg-fddf97411017bfcd7dd988d754b25efc3d6a1c3e.tar.gz
vcpkg-fddf97411017bfcd7dd988d754b25efc3d6a1c3e.zip
[rapidcsv] new port (#16879)
* [rapidcsv] add new port * add version files * [rapidcsv] apply suggestions * add version files
-rw-r--r--ports/rapidcsv/portfile.cmake16
-rw-r--r--ports/rapidcsv/vcpkg.json12
-rw-r--r--versions/baseline.json4
-rw-r--r--versions/r-/rapidcsv.json9
4 files changed, 41 insertions, 0 deletions
diff --git a/ports/rapidcsv/portfile.cmake b/ports/rapidcsv/portfile.cmake
new file mode 100644
index 000000000..9e2654e79
--- /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 000000000..3b5257e01
--- /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 70c9c5744..32accbc44 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -5196,6 +5196,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 000000000..7cc6f9d4c
--- /dev/null
+++ b/versions/r-/rapidcsv.json
@@ -0,0 +1,9 @@
+{
+ "versions": [
+ {
+ "git-tree": "48075cdee869e9fb897cf5a45aa0159cc742b213",
+ "version": "8.50",
+ "port-version": 0
+ }
+ ]
+}