aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPark DongHa <dong-ha-park@linecorp.com>2021-02-25 06:53:33 +0900
committerGitHub <noreply@github.com>2021-02-24 13:53:33 -0800
commit8c0cac7fcd495d56bcfcfccf0c7c21457f264296 (patch)
tree429ee226067083df24993b49f5e47e03d3d82965
parente3dde67a6219f6a77349c2090e04b4f9c2e75c1e (diff)
downloadvcpkg-8c0cac7fcd495d56bcfcfccf0c7c21457f264296.tar.gz
vcpkg-8c0cac7fcd495d56bcfcfccf0c7c21457f264296.zip
[fxdiv] create a new port (#16341)
* [fxdiv] create a new port * [fxdiv] update baseline and port SHA
-rw-r--r--ports/fxdiv/portfile.cmake18
-rw-r--r--ports/fxdiv/vcpkg.json6
-rw-r--r--versions/baseline.json4
-rw-r--r--versions/f-/fxdiv.json9
4 files changed, 37 insertions, 0 deletions
diff --git a/ports/fxdiv/portfile.cmake b/ports/fxdiv/portfile.cmake
new file mode 100644
index 000000000..a62cefcd8
--- /dev/null
+++ b/ports/fxdiv/portfile.cmake
@@ -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)
diff --git a/ports/fxdiv/vcpkg.json b/ports/fxdiv/vcpkg.json
new file mode 100644
index 000000000..e120815ee
--- /dev/null
+++ b/ports/fxdiv/vcpkg.json
@@ -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"
+}
diff --git a/versions/baseline.json b/versions/baseline.json
index 63bf26ebf..f4d20edd5 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -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
diff --git a/versions/f-/fxdiv.json b/versions/f-/fxdiv.json
new file mode 100644
index 000000000..faae1bc5e
--- /dev/null
+++ b/versions/f-/fxdiv.json
@@ -0,0 +1,9 @@
+{
+ "versions": [
+ {
+ "git-tree": "58ee7e759479e81a3218ff4d5efb8ada40c40d65",
+ "version-string": "2021-02-21",
+ "port-version": 0
+ }
+ ]
+}