diff options
| author | Christophe Guebert <c.guebert@e-media.fr> | 2017-12-05 15:09:14 +0100 |
|---|---|---|
| committer | Christophe Guebert <c.guebert@e-media.fr> | 2017-12-05 15:09:14 +0100 |
| commit | 09c8264e9c06e747ede8b1eca785658216008374 (patch) | |
| tree | b5528044f87fba6e8e136103520d091d5179d5ba | |
| parent | 216f7137b9736d68e698f32154966ea68c7b98db (diff) | |
| download | vcpkg-09c8264e9c06e747ede8b1eca785658216008374.tar.gz vcpkg-09c8264e9c06e747ede8b1eca785658216008374.zip | |
crow initial port
| -rw-r--r-- | ports/crow/CONTROL | 3 | ||||
| -rw-r--r-- | ports/crow/portfile.cmake | 12 |
2 files changed, 15 insertions, 0 deletions
diff --git a/ports/crow/CONTROL b/ports/crow/CONTROL new file mode 100644 index 000000000..0b33939d5 --- /dev/null +++ b/ports/crow/CONTROL @@ -0,0 +1,3 @@ +Source: crow +Version: 0.1 +Description: Very fast and easy to use C++ micro web framework diff --git a/ports/crow/portfile.cmake b/ports/crow/portfile.cmake new file mode 100644 index 000000000..de9471fcc --- /dev/null +++ b/ports/crow/portfile.cmake @@ -0,0 +1,12 @@ +include(vcpkg_common_functions) + +set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/crow-0.1) +vcpkg_download_distfile(ARCHIVE_FILE + URLS "https://github.com/ipkn/crow/archive/v0.1.tar.gz" + FILENAME "crow-v0.1.tar.gz" + SHA512 5a97c5b8cda3ffe79001aa382d4391eddde30027401bbb1d9c85c70ea715f556d3659f5eac0b9d9192c19d13718f19ad6bdf49d67bef03b21e75300d60e7d02a +) +vcpkg_extract_source_archive(${ARCHIVE_FILE}) + +file(INSTALL ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include) +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/crow RENAME copyright) |
