component(developer/golang-123): Add Component
[oi-userland.git] / components / x11 / libXau / Makefile
blobc8070e946ca6a01c5e13b5b561d931bf4540c253
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-2019 Aurelien Larcher
16 X11_CATEGORY=LIB
17 include ../../../make-rules/shared-macros.mk
18 include $(WS_MAKE_RULES)/x11.mk
20 COMPONENT_NAME= libXau
21 COMPONENT_VERSION= 1.0.12
22 COMPONENT_FMRI= x11/library/libxau
23 COMPONENT_SUMMARY= libXau - X11 Authorization Protocol library
24 COMPONENT_ARCHIVE_EXTENSION= .tar.xz
25 COMPONENT_ARCHIVE_HASH= sha256:74d0e4dfa3d39ad8939e99bda37f5967aba528211076828464d2777d477fc0fb
26 COMPONENT_LICENSE_FILE= COPYING
28 include $(WS_MAKE_RULES)/common.mk
30 COMPONENT_PREP_ACTION = ( cd $(@D) && autoreconf -f -i )
32 CONFIGURE_OPTIONS+= --disable-static
33 CONFIGURE_OPTIONS+= --enable-shared
34 CONFIGURE_OPTIONS+= --enable-xthreads
35 CONFIGURE_OPTIONS+= --without-lint
36 CONFIGURE_OPTIONS+= --disable-lint-library
37 CONFIGURE_OPTIONS+= --with-pic
39 LD_OPTIONS += -M$(COMPONENT_DIR)/mapfile-vers
41 # Auto-generated dependencies
42 REQUIRED_PACKAGES += system/library