mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
[sebsjames maths] add new port (#46325)
This commit is contained in:
24
ports/sebsjames-maths/portfile.cmake
Normal file
24
ports/sebsjames-maths/portfile.cmake
Normal file
@@ -0,0 +1,24 @@
|
||||
set(VCPKG_BUILD_TYPE release) # header-only
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO sebsjames/maths
|
||||
REF "${VERSION}"
|
||||
SHA512 bd1f44f2cb3cf14458a4c35052840cc19cd6a03058936853eedbd209fdb10012e74b2b51e7fc7a46e3e76861baf27e946a7e1e5feff545f81b255d9d4af4303e
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DBUILD_EXAMPLES=OFF
|
||||
-DBUILD_TESTS=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/maths)
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
17
ports/sebsjames-maths/vcpkg.json
Normal file
17
ports/sebsjames-maths/vcpkg.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "sebsjames-maths",
|
||||
"version": "1.0",
|
||||
"description": "C++20 code for scalar, vector and complex maths.",
|
||||
"homepage": "https://github.com/sebsjames/maths",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -8644,6 +8644,10 @@
|
||||
"baseline": "1.4.6",
|
||||
"port-version": 0
|
||||
},
|
||||
"sebsjames-maths": {
|
||||
"baseline": "1.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"secp256k1": {
|
||||
"baseline": "2022-07-11",
|
||||
"port-version": 1
|
||||
|
||||
9
versions/s-/sebsjames-maths.json
Normal file
9
versions/s-/sebsjames-maths.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "7203305bdf6d65da04a581117b017ac447322b11",
|
||||
"version": "1.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user