File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
53
53
| [ ` git ` ] ( git/ ) | Git | 2.33.0 | https://git-scm.com/ |
54
54
| [ ` glib ` ] ( glib/ ) | GLib | 2.70.0 | https://wiki.gnome.org/Projects/GLib |
55
55
| [ ` glm ` ] ( glm/ ) | OpenGL Mathematics (GLM) | 0.9.9.8 | https://github.com/g-truc/glm |
56
+ | [ ` glu ` ] ( glu/ ) | Mesa GLU | 9.0.2 | https://gitlab.freedesktop.org/mesa/glu |
56
57
| [ ` gmp ` ] ( gmp/ ) | GNU Multiple Precision Arithmetic Library (GMP) | 6.2.1 | https://gmplib.org/ |
57
58
| [ ` gnucobol ` ] ( gnucobol/ ) | GnuCOBOL | 3.1.2 | https://gnucobol.sourceforge.io/ |
58
59
| [ ` gnupg ` ] ( gnupg/ ) | GnuPG | 2.3.0 | https://gnupg.org/software/index.html |
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env -S bash ../.port_include.sh
2
+ port=glu
3
+ useconfigure=" true"
4
+ version=" 9.0.2"
5
+ workdir=" glu-glu-${version} "
6
+ files=" https://gitlab.freedesktop.org/mesa/glu/-/archive/glu-${version} /glu-glu-${version} .tar.gz glu-glu-${version} .tar.gz 332d93a16376bc007e8232a8e5534da84e548cf3db9de040442c47a21f4625ba"
7
+ auth_type=sha256
8
+ depends=(" pkgconf" )
9
+
10
+ pre_configure () {
11
+ export ACLOCAL=" aclocal -I${SERENITY_INSTALL_ROOT} /usr/local/lib/pkgconfig"
12
+ export GL_CFLAGS=" -I${SERENITY_INSTALL_ROOT} /usr/include/LibGL"
13
+ export GL_LIBS=" -lgl"
14
+
15
+ run libtoolize
16
+ run aclocal
17
+ run autoconf
18
+ run automake --add-missing
19
+
20
+ # Manual config.sub patch
21
+ run cp config.sub config.sub.contents
22
+ run mv -f config.sub.contents config.sub
23
+ run sed -i ' s/-haiku/-serenity/' config.sub
24
+ }
25
+
26
+ post_configure () {
27
+ unset ACLOCAL
28
+ unset GL_CFLAGS
29
+ unset GL_LIBS
30
+ }
You can’t perform that action at this time.
0 commit comments