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 (c) 2016 Aurelien Larcher
13 # Copyright (c) 2018 Michal Nowak
14 # Copyright (c) 2022 Andreas Wacknitz
20 include ..
/..
/..
/make-rules
/shared-macros.mk
21 include $(WS_MAKE_RULES
)/x11.mk
23 COMPONENT_NAME
= libepoxy
24 COMPONENT_VERSION
= 1.5.10
25 COMPONENT_FMRI
= x11
/library
/libepoxy
26 COMPONENT_SUMMARY
= library for handling OpenGL function pointers
27 COMPONENT_CLASSIFICATION
=System
/Hardware
28 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
29 COMPONENT_ARCHIVE_HASH
= sha256
:a7ced37f4102b745ac86d6a70a9da399cc139ff168ba6b8002b4d8d43c900c15
30 COMPONENT_ARCHIVE_URL
= https
://github.com
/anholt
/libepoxy
/archive
/refs
/tags/$(COMPONENT_VERSION
).
tar.gz
32 include $(WS_MAKE_RULES
)/common.mk
34 #CONFIGURE_OPTIONS += -Degl=no
35 CONFIGURE_OPTIONS
+= -Dtests
=true
37 # Remove measured times (eg. 1.16s):
38 COMPONENT_TEST_TRANSFORMS
+= '-e "s/[0-9].[0-9][0-9]s//" '
40 # Auto-generated dependencies
41 REQUIRED_PACKAGES
+= system
/library