mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-08-17 09:20:28 +03:00
Ports: Add OpenGL Mathematics (GLM) port
This commit is contained in:
parent
0086466b61
commit
287bbabbc1
Notes:
sideshowbarker
2024-07-18 01:43:29 +09:00
Author: https://github.com/bcoles Commit: https://github.com/SerenityOS/serenity/commit/287bbabbc1b Pull-request: https://github.com/SerenityOS/serenity/pull/10666 Reviewed-by: https://github.com/gmta Reviewed-by: https://github.com/kennethmyhra ✅
@ -49,6 +49,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
|
||||
| [`gettext`](gettext/) | GNU gettext | 0.21 | https://www.gnu.org/software/gettext/ |
|
||||
| [`git`](git/) | Git | 2.33.0 | https://git-scm.com/ |
|
||||
| [`glib`](glib/) | GLib | 2.70.0 | https://wiki.gnome.org/Projects/GLib |
|
||||
| [`glm`](glm/) | OpenGL Mathematics (GLM) | 0.9.9.8 | https://github.com/g-truc/glm |
|
||||
| [`gmp`](gmp/) | GNU Multiple Precision Arithmetic Library (GMP) | 6.2.1 | https://gmplib.org/ |
|
||||
| [`gnucobol`](gnucobol/) | GnuCOBOL | 3.1.2 | https://gnucobol.sourceforge.io/ |
|
||||
| [`gnupg`](gnupg/) | GnuPG | 2.3.0 | https://gnupg.org/software/index.html |
|
||||
|
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…
Reference in New Issue
Block a user