Add libXau 1.0.8 from x-s12
[unleashed-userland.git] / components / x11 / libXau / Makefile
blobd9496a53f6f7db3d2d89e2988453577ed825cd25
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 Captain XNV
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= libXau
19 COMPONENT_VERSION= 1.0.8
20 COMPONENT_FMRI= x11/library/libxau
21 COMPONENT_CLASSIFICATION= System/X11
22 COMPONENT_SUMMARY= libXau - X11 Authorization Protocol library
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:fdd477320aeb5cdd67272838722d6b7d544887dfe7de46e1e7cc0c27c2bea4f2
27 COMPONENT_ARCHIVE_URL= \
28 http://www.x.org/releases/individual/lib/libXau-1.0.8.tar.bz2
29 COMPONENT_PROJECT_URL = http://www.x.org/
30 COMPONENT_LICENSE= MIT License
31 COMPONENT_LICENSE_FILE= libXau.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 COMPONENT_PREP_ACTION = ( cd $(@D) && autoreconf -f -i )
41 CONFIGURE_OPTIONS+= --disable-static
42 CONFIGURE_OPTIONS+= --enable-shared
43 CONFIGURE_OPTIONS+= --enable-xthreads
44 CONFIGURE_OPTIONS+= --without-lint
45 CONFIGURE_OPTIONS+= --disable-lint-library
46 CONFIGURE_OPTIONS+= --with-pic
48 LD_OPTIONS += -M$(COMPONENT_DIR)/mapfile-vers
50 build: $(BUILD_32_and_64)
52 install: $(INSTALL_32_and_64)
54 test: $(NO_TESTS)
57 REQUIRED_PACKAGES += system/library