mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:27:35 +00:00
Ports: Add OpenGL Mathematics (GLM) port
This commit is contained in:
parent
0086466b61
commit
287bbabbc1
2 changed files with 18 additions and 0 deletions
17
Ports/glm/package.sh
Executable file
17
Ports/glm/package.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=glm
|
||||
version=0.9.9.8
|
||||
files="https://github.com/g-truc/glm/releases/download/${version}/glm-${version}.zip glm-${version}.zip 37e2a3d62ea3322e43593c34bae29f57e3e251ea89f4067506c94043769ade4c"
|
||||
auth_type=sha256
|
||||
depends=()
|
||||
workdir=glm
|
||||
useconfigure=true
|
||||
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
|
||||
|
||||
configure() {
|
||||
run cmake "${configopts[@]}"
|
||||
}
|
||||
|
||||
install() {
|
||||
run cp -R glm "${SERENITY_BUILD_DIR}/Root/usr/local/include/"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue