[dtl] Initial port of library (#5541)

This commit is contained in:
Marco Craveiro 2019-03-05 18:41:52 +00:00 committed by Phil Christensen
parent 6b4b62ad97
commit b9d7fa1a1c
2 changed files with 19 additions and 0 deletions

3
ports/dtl/CONTROL Normal file
View File

@ -0,0 +1,3 @@
Source: dtl
Version: 1.19
Description: Diff template library

16
ports/dtl/portfile.cmake Normal file
View File

@ -0,0 +1,16 @@
#header-only library
include(vcpkg_common_functions)
include(CMakePackageConfigHelpers)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO cubicdaiya/dtl
REF v1.19
SHA512 77c767451b1b78ce49085da6ff5bb8a23c96dec56a37d96ef357a6b69a1b2cd45e2c6c4e8f91ee34ca080ce03a26518c478ff207309326a4bc7e729eaa2824b2
HEAD_REF master
)
file(INSTALL ${SOURCE_PATH}/dtl
DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION
${CURRENT_PACKAGES_DIR}/share/dtl RENAME copyright)