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
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
17 include ..
/..
/..
/make-rules
/shared-macros.mk
18 include $(WS_MAKE_RULES
)/x11.mk
20 COMPONENT_NAME
= libXres
21 COMPONENT_VERSION
= 1.2.2
23 COMPONENT_SUMMARY
= libXres
- X Resource extension library
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
25 COMPONENT_ARCHIVE_HASH
= sha256
:9a7446f3484b9b7538ac5ee30d2c1ce9e5b7fbbaf1440e02f6cca186a1fa745f
26 COMPONENT_FMRI
= x11
/library
/libxres
28 include $(WS_MAKE_RULES
)/common.mk
30 CONFIGURE_OPTIONS
+= --disable-static
31 CONFIGURE_OPTIONS
+= --enable-shared
32 CONFIGURE_OPTIONS
+= LIB_MAN_SUFFIX
=3xres
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