2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Alexander Pyhalov
14 # Copyright 2019 Aurelien Larcher
19 COMPONENT_X11_DEFAULTS
= no
20 include ..
/..
/..
/make-rules
/shared-macros.mk
21 include $(WS_MAKE_RULES
)/x11.mk
24 COMPONENT_VERSION
= 9.0.3
25 COMPONENT_SUMMARY
= libglu part of the Mesa
3-D Graphics Library
26 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
27 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
).
tar.xz
28 COMPONENT_ARCHIVE_HASH
= sha256
:bd43fe12f374b1192eb15fe20e45ff456b9bc26ab57f0eee919f96ca0f8a330f
29 COMPONENT_ARCHIVE_URL
= ftp
://ftp.freedesktop.org
/pub
/mesa
/glu
/$(COMPONENT_ARCHIVE
)
30 COMPONENT_PROJECT_URL
= https
://www.mesa3d.org
/
31 COMPONENT_FMRI
= x11
/library
/glu
32 COMPONENT_CLASSIFICATION
= System
/X11
33 COMPONENT_LICENSE
= MIT
35 include $(WS_MAKE_RULES
)/common.mk
39 CONFIGURE_OPTIONS
+= -Dgl_provider
=gl
41 LDFLAGS
= -L
$(X11_SERVERLIBS_DIR
) -R
$(X11_SERVERLIBS_DIR
)
43 # Auto-generated dependencies
44 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
45 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
46 REQUIRED_PACKAGES
+= system
/library
47 REQUIRED_PACKAGES
+= system
/library
/math