diff options
| author | Eitan Har-Shoshanim <52128156+eitanhs@users.noreply.github.com> | 2020-06-11 12:51:31 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-11 02:51:31 -0700 |
| commit | ae45816c34d604967209bc3218f33ab328927702 (patch) | |
| tree | 963cede7a36007d971f88c01064126955584de90 | |
| parent | ffe8f5d9b7818c208058b0c3f6a795fba0707db5 (diff) | |
| download | vcpkg-ae45816c34d604967209bc3218f33ab328927702.tar.gz vcpkg-ae45816c34d604967209bc3218f33ab328927702.zip | |
[gzip-hpp] Add new port (#11735)
* added gzip-hpp port
* added 'header-only library' comment
| -rw-r--r-- | ports/gzip-hpp/CONTROL | 5 | ||||
| -rw-r--r-- | ports/gzip-hpp/portfile.cmake | 14 |
2 files changed, 19 insertions, 0 deletions
diff --git a/ports/gzip-hpp/CONTROL b/ports/gzip-hpp/CONTROL new file mode 100644 index 000000000..86eba1394 --- /dev/null +++ b/ports/gzip-hpp/CONTROL @@ -0,0 +1,5 @@ +Source: gzip-hpp +Version: 0.1.0 +Homepage: https://github.com/mapbox/gzip-hpp/ +Description: Gzip header-only C++ library +Build-Depends: zlib
\ No newline at end of file diff --git a/ports/gzip-hpp/portfile.cmake b/ports/gzip-hpp/portfile.cmake new file mode 100644 index 000000000..c490c726e --- /dev/null +++ b/ports/gzip-hpp/portfile.cmake @@ -0,0 +1,14 @@ +# header-only library + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO mapbox/gzip-hpp + REF v0.1.0 + SHA512 4f332f08e842583b421932f14ee736a64d090ac22fd4e4654e5d84667c2fd6dcd73206b27b7c0c4f364104af7f4a5ad765c38125574bc239fa93b0b0ec4dad56 + HEAD_REF master +) + +file(COPY ${SOURCE_PATH}/include/gzip DESTINATION ${CURRENT_PACKAGES_DIR}/include) + +# Handle copyright +file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
\ No newline at end of file |
