Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[boolinq] Add new port #7362

Merged
merged 1 commit into from
Jul 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ports/boolinq/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Source: boolinq
Version: 2019-07-22
Description: Super tiny C++11 single-file header-only LINQ library
Homepage: https://github.com/k06a/boolinq
16 changes: 16 additions & 0 deletions ports/boolinq/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Single-file header-only library

include(vcpkg_common_functions)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO k06a/boolinq
REF 1d09dc8b3df79801062e5c0e758572552fa4ce98
SHA512 0714a97d09bb8299d39062803a8cd5de28834c372f7826afc36e17ea6aa90d2ec368d5bbb907914ad1ca5a65be41a5caeaa1583f66358577d7ea88d3c0906238
HEAD_REF master
)

file(COPY ${SOURCE_PATH}/include/boolinq/boolinq.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/boolinq)

# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)