[fxdiv] create a new port (#16341)

* [fxdiv] create a new port

* [fxdiv] update baseline and port SHA
This commit is contained in:
Park DongHa 2021-02-25 06:53:33 +09:00 committed by GitHub
parent e3dde67a62
commit 8c0cac7fcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,18 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Maratyszcza/fxdiv
REF 63058eff77e11aa15bf531df5dd34395ec3017c8
SHA512 da33eab4d006645f383a1f24fc3e747db3aeb0613219297ec0ae69aa2617f07ba050ebd6a64a8cbde6d25481f176d0ec3b9753a95d1fbcead2136595f3e50e97
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DFXDIV_BUILD_TESTS=OFF
-DFXDIV_BUILD_BENCHMARKS=OFF
)
vcpkg_install_cmake()
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)

6
ports/fxdiv/vcpkg.json Normal file
View File

@ -0,0 +1,6 @@
{
"name": "fxdiv",
"version-string": "2021-02-21",
"description": "C99/C++ header-only library for division via fixed-point multiplication by inverse",
"homepage": "https://github.com/Maratyszcza/FXdiv"
}

View File

@ -2084,6 +2084,10 @@
"baseline": "6.0",
"port-version": 3
},
"fxdiv": {
"baseline": "2021-02-21",
"port-version": 0
},
"g2o": {
"baseline": "2020-02-07",
"port-version": 1

9
versions/f-/fxdiv.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "58ee7e759479e81a3218ff4d5efb8ada40c40d65",
"version-string": "2021-02-21",
"port-version": 0
}
]
}