Skip to content

Commit

Permalink
[gzip-hpp] Add new port (microsoft#11735)
Browse files Browse the repository at this point in the history
* added gzip-hpp port

* added 'header-only library' comment
  • Loading branch information
eitanhs authored and JangBoo committed Jun 18, 2020
1 parent f8c3aa1 commit d1acad0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ports/gzip-hpp/CONTROL
Original file line number Diff line number Diff line change
@@ -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
14 changes: 14 additions & 0 deletions ports/gzip-hpp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit d1acad0

Please sign in to comment.