component(developer/golang-123): Add Component
[oi-userland.git] / components / x11 / libXinerama / Makefile
blobc6932ef6c8b71f1a0e00b695ef2b1d82d2cdf9f7
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
5 # 1.0 of the CDDL.
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 Aurelien Larcher
16 X11_CATEGORY=LIB
17 include ../../../make-rules/shared-macros.mk
18 include $(WS_MAKE_RULES)/x11.mk
20 COMPONENT_NAME= libXinerama
21 COMPONENT_VERSION= 1.1.5
22 COMPONENT_SUMMARY= libXinerama - X PanoramiX extension library
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
24 COMPONENT_ARCHIVE_HASH= sha256:5094d1f0fcc1828cb1696d0d39d9e866ae32520c54d01f618f1a3c1e30c2085c
25 COMPONENT_FMRI= x11/library/libxinerama
27 include $(WS_MAKE_RULES)/common.mk
29 CPPFLAGS+= -D SUNSOFT
31 CONFIGURE_OPTIONS+= --disable-static
32 CONFIGURE_OPTIONS+= --enable-shared
34 LD_OPTIONS += -M$(COMPONENT_DIR)/mapfile-vers
36 # Auto-generated dependencies
37 REQUIRED_PACKAGES += system/library
38 REQUIRED_PACKAGES += x11/library/libx11
39 REQUIRED_PACKAGES += x11/library/libxext