zsh: update to 5.7.1 & native build
[unleashed-userland.git] / components / x11 / libXinerama / Makefile
blob6afb6615dca7afa3228f1f9be8576025562188b0
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 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= libXinerama
19 COMPONENT_VERSION= 1.1.3
20 COMPONENT_FMRI= x11/library/libxinerama
21 COMPONENT_CLASSIFICATION= System/X11
22 COMPONENT_SUMMARY= libXinerama - X PanoramiX extension library
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:7a45699f1773095a3f821e491cbd5e10c887c5a5fce5d8d3fced15c2ff7698e2
27 COMPONENT_ARCHIVE_URL= \
28 http://www.x.org/releases/individual/lib/libXinerama-1.1.3.tar.bz2
29 COMPONENT_PROJECT_URL = http://www.x.org/
30 COMPONENT_LICENSE= MIT License
31 COMPONENT_LICENSE_FILE= libXinerama.license
33 include $(WS_TOP)/make-rules/prep.mk
34 include $(WS_TOP)/make-rules/configure.mk
35 include $(WS_TOP)/make-rules/ips.mk
37 PATH=/usr/gnu/bin:/usr/bin
39 CPPFLAGS+= -D SUNSOFT
41 CONFIGURE_OPTIONS+= --disable-static
42 CONFIGURE_OPTIONS+= --enable-shared
44 LD_OPTIONS += -M$(COMPONENT_DIR)/mapfile-vers
47 build: $(BUILD_32_and_64)
49 install: $(INSTALL_32_and_64)
51 test: $(NO_TESTS)
54 REQUIRED_PACKAGES += system/library
55 REQUIRED_PACKAGES += x11/library/libx11
56 REQUIRED_PACKAGES += x11/library/libxext