[libkml] init port

This commit is contained in:
atkawa7 2017-07-25 10:25:17 -07:00
parent 1d53b00cea
commit d59fb7942c
2 changed files with 21 additions and 0 deletions

4
ports/libkml/CONTROL Normal file
View File

@ -0,0 +1,4 @@
Source: libkml
Version: 1.3.0
Description: Reference implementation of OGC KML 2.2
Build-Depends: zlib, boost, expat, minizip, uriparser

View File

@ -0,0 +1,17 @@
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libkml/libkml
REF 1.3.0
SHA512 aa48158103d3af764bf98c1fb4cf3e1356b9cc6c8e79d80b96850916f0a8ccb1dac3a46427735dd0bf20647daa047d10e722ac3da2a214d4c1559bf6d5d7c853
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
)
vcpkg_install_cmake()
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/cxxopts RENAME copyright)
vcpkg_copy_pdbs()