aboutsummaryrefslogtreecommitdiff
path: root/ports
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 /ports
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
Diffstat (limited to 'ports')
-rw-r--r--ports/rapidcsv/portfile.cmake16
-rw-r--r--ports/rapidcsv/vcpkg.json12
2 files changed, 28 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
+ }
+ ]
+}