[fast-cpp-csv-parser] Add new port (#7681)

This commit is contained in:
myd7349 2019-08-15 05:05:21 +08:00 committed by Curtis J Bezault
parent 885370d30c
commit 50253f06a4
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,4 @@
Source: fast-cpp-csv-parser
Version: 2019-08-14
Description: A small, easy-to-use and fast header-only library for reading comma separated value (CSV) files
Homepage: https://github.com/ben-strasser/fast-cpp-csv-parser

View File

@ -0,0 +1,16 @@
# header-only library
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ben-strasser/fast-cpp-csv-parser
REF 78f413248fdeea27368481c4a1d48c059ac36680
SHA512 f8eb477e0b5e82f5b5d7bdf045094dcc59433e7b6305a1e16e45c2c24f4bbb7f6e9540e17a8ffafce29ea2ebe3a2647174824abe80da5f2054f7df3d7da8c28d
HEAD_REF master
)
file(COPY ${SOURCE_PATH}/csv.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)