mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 01:59:00 +08:00
[bustache] Add new port
This commit is contained in:
parent
1fd6cc945d
commit
923ef158c6
5
ports/bustache/CONTROL
Normal file
5
ports/bustache/CONTROL
Normal file
@ -0,0 +1,5 @@
|
||||
Source: bustache
|
||||
Version: 1.1.0
|
||||
Build-Depends: boost-unordered, boost-utility
|
||||
Description: C++11 implementation of {{ mustache }}
|
||||
Homepage: https://github.com/jamboree/bustache
|
4
ports/bustache/LICENSE
Normal file
4
ports/bustache/LICENSE
Normal file
@ -0,0 +1,4 @@
|
||||
Copyright (c) 2014-2018 Jamboree
|
||||
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
21
ports/bustache/portfile.cmake
Normal file
21
ports/bustache/portfile.cmake
Normal file
@ -0,0 +1,21 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO jamboree/bustache
|
||||
REF abb25ca189425783c6b7ec5c17c5284dccb59faf
|
||||
SHA512 be00451f6a85edccacbdd5d8478d7af4f3162f9a9a31af876004237ca7f303c1262b2ea623e6ec595d73440dc14fcf22d185bc521fd3aca6e28ec43890d611c5
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
PREFER_NINJA
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH "share/bustache/cmake")
|
||||
|
||||
file(REMOVE_RECURSE
|
||||
"${CURRENT_PACKAGES_DIR}/debug/include"
|
||||
)
|
||||
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
Loading…
Reference in New Issue
Block a user