fmt: update to 11.1.2
[oi-userland.git] / components / x11 / libglvnd / Makefile
blob37f20906a683cf95177d6b35e8fc67a9019ae75a
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2020 Aurelien Larcher
15 BUILD_BITS=64
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= libglvnd
19 COMPONENT_VERSION= 1.4.0
20 COMPONENT_SUMMARY= The GL Vendor-Neutral Dispatch library
21 COMPONENT_PROJECT_URL= https://github.com/NVIDIA/libglvnd
22 COMPONENT_FMRI= x11/library/libglvnd
23 COMPONENT_CLASSIFICATION=System/X11
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
26 COMPONENT_ARCHIVE_URL= https://github.com/NVIDIA/libglvnd/archive/v$(COMPONENT_VERSION).tar.gz
27 COMPONENT_ARCHIVE_HASH= sha256:1eb5c2be8d213ad5d31cfb4efbb331d42f3d9f5617c885ce7e89f572ec2bb4b8
28 COMPONENT_LICENSE= MIT
30 include $(WS_MAKE_RULES)/common.mk
32 COMPONENT_PREP_ACTION = ( cd $(@D) && \
33 libtoolize --automake --copy --force && \
34 aclocal && \
35 autoheader && \
36 automake -a -f -c && \
37 autoconf )
39 CONFIGURE_OPTIONS+= --enable-x11
40 CONFIGURE_OPTIONS+= --enable-glx
41 CONFIGURE_OPTIONS+= --enable-gles1
42 CONFIGURE_OPTIONS+= --enable-gles2
43 CONFIGURE_OPTIONS+= --enable-headers
44 CONFIGURE_OPTIONS+= --enable-asm
45 CONFIGURE_OPTIONS+= --enable-tls
47 unexport SHELLOPTS
49 # Auto-generated dependencies
50 REQUIRED_PACKAGES += system/library
51 REQUIRED_PACKAGES += x11/library/libx11