mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
[flatbush] Add new port (#32126)
* Add port files * Add version and git-tree * New sha for package * Update git-tree * Update release sha512 * Update git-tree * New pkg as per PR review * And the usual git-tree * More code review fixes * More git-tree stuff
This commit is contained in:
parent
e942f068ed
commit
766f36b47b
19
ports/flatbush/portfile.cmake
Normal file
19
ports/flatbush/portfile.cmake
Normal file
@ -0,0 +1,19 @@
|
||||
# Header-only library
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO chusitoo/flatbush
|
||||
REF "v${VERSION}"
|
||||
SHA512 2d1ac3ae04331dd7aa0923c924672db2aef652b2f99a8a36a58c0efe4069f9b2755e343bea887128f02edd0abbf0775743541ca81fdb325ca1022145dde79ff7
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH share/flatbush)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
||||
|
||||
# Handle copyright
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
17
ports/flatbush/vcpkg.json
Normal file
17
ports/flatbush/vcpkg.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "flatbush",
|
||||
"version": "1.1.2",
|
||||
"description": "A C++11 header-only single file port of Flatbush",
|
||||
"homepage": "https://github.com/chusitoo/flatbush",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
@ -2540,6 +2540,10 @@
|
||||
"baseline": "23.5.26",
|
||||
"port-version": 0
|
||||
},
|
||||
"flatbush": {
|
||||
"baseline": "1.1.2",
|
||||
"port-version": 0
|
||||
},
|
||||
"flecs": {
|
||||
"baseline": "3.2.4",
|
||||
"port-version": 0
|
||||
|
9
versions/f-/flatbush.json
Normal file
9
versions/f-/flatbush.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "8c59357025e0ee6a44855c384d3defd0a9ee525d",
|
||||
"version": "1.1.2",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user