[linmath] Add port (#26069)

* add port for linmath.h

* format manifest and x-add version linmath

* Update version database

* set ref to latest commit id

* Update version database

* Update ref

* version

Co-authored-by: Ryan <ryan.mckenna002@gmail.com>
This commit is contained in:
Thomas1664 2022-08-03 01:47:10 +02:00 committed by GitHub
parent 87e46921cc
commit 933aa19b26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,12 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO datenwolf/linmath.h
REF 3eef82841046507e16a0f6194a61cee2eadd34b3
SHA512 cd8bc9c29b984cbb2fb1a1e743566e8f099d243c294658e84980cdbd83c881122f1abee68c50139ee9fddaa96f22f52eeae8e26dc86caa114cd11ebe5644a4db
HEAD_REF master
)
# This is a header only library
file(INSTALL "${SOURCE_PATH}/linmath.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include/linmath.h")
file(INSTALL "${SOURCE_PATH}/LICENCE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME "copyright")

7
ports/linmath/vcpkg.json Normal file
View File

@ -0,0 +1,7 @@
{
"name": "linmath",
"version-date": "2022-07-30",
"description": "linmath.h -- A small library for linear math as required for computer graphics",
"homepage": "https://github.com/datenwolf/linmath.h",
"license": "WTFPL"
}

View File

@ -4316,6 +4316,10 @@
"baseline": "4754bee2d8eb3",
"port-version": 2
},
"linmath": {
"baseline": "2022-07-30",
"port-version": 0
},
"lionkor-commandline": {
"baseline": "2.0.0",
"port-version": 0

9
versions/l-/linmath.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "0ecd0a63de52eff819e837a8fe44856b07228376",
"version-date": "2022-07-30",
"port-version": 0
}
]
}