mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 11:13:02 +08:00
[stronk] Add new port (#26740)
* [stronk] Initial port * Review fixes * Fixed added builtin-baseline which is not neccesary for registry * fix include wrong directroy * update version * delete patch * update version * Add quotes * update version * Use vcpkg_from_github Co-authored-by: Jonliu1993 <13720414433@163.com>
This commit is contained in:
parent
4340582bc3
commit
4e07dd99b8
21
ports/stronk/portfile.cmake
Normal file
21
ports/stronk/portfile.cmake
Normal file
@ -0,0 +1,21 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO twig-energy/stronk
|
||||
REF f298bca3102b48ada516b0b42f2d5e6899cbbc44
|
||||
HEAD_REF main
|
||||
SHA512 889c7a58082ab506f0c3b8b11e2f7d70f0b9a9ed67322310b43f070b79b71c3c115d1942319e7b461da80a0708c750503705d437d8228c54d7fa8f6e4626ad43
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
"-DCMAKE_INSTALL_INCLUDEDIR=${CURRENT_PACKAGES_DIR}/include"
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
41
ports/stronk/vcpkg.json
Normal file
41
ports/stronk/vcpkg.json
Normal file
@ -0,0 +1,41 @@
|
||||
{
|
||||
"name": "stronk",
|
||||
"version-semver": "0.2.0",
|
||||
"description": "An easy to customize, strong type library with built in support for unit-like behavior",
|
||||
"homepage": "https://github.com/twig-energy/stronk",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "boost-type-index",
|
||||
"version>=": "1.78.0"
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"abseil": {
|
||||
"description": "Dependencies for abseil extension",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "abseil",
|
||||
"version>=": "20211102.1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"fmt": {
|
||||
"description": "Dependencies for fmt extension",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "fmt",
|
||||
"version>=": "9.0.0"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@ -7068,6 +7068,10 @@
|
||||
"baseline": "1.6.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"stronk": {
|
||||
"baseline": "0.2.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"strtk": {
|
||||
"baseline": "2020-09-14",
|
||||
"port-version": 1
|
||||
|
9
versions/s-/stronk.json
Normal file
9
versions/s-/stronk.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "e4a44d9b4174532927a658b7762122b06ad2f663",
|
||||
"version-semver": "0.2.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user