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 2016 Alexander Pyhalov
17 include ..
/..
/..
/make-rules
/shared-macros.mk
18 include $(WS_MAKE_RULES
)/x11.mk
21 COMPONENT_VERSION
= 1.8.2
22 COMPONENT_FMRI
= x11
/library
/libxi
23 COMPONENT_SUMMARY
= libXi
- X Input extension client library
24 COMPONENT_ARCHIVE_EXTENSION
= .
tar.xz
25 COMPONENT_ARCHIVE_HASH
= sha256
:d0e0555e53d6e2114eabfa44226ba162d2708501a25e18d99cfb35c094c6c104
26 COMPONENT_LICENSE_FILE
= COPYING
28 include $(WS_MAKE_RULES
)/common.mk
30 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && PATH
="$(PATH)" autoreconf
-f
-i
)
32 CONFIGURE_OPTIONS
+= --localstatedir
=/var
33 CONFIGURE_OPTIONS
+= --enable-shared
=yes
34 CONFIGURE_OPTIONS
+= --enable-static
=no
35 CONFIGURE_OPTIONS
+= --with-pic
36 CONFIGURE_OPTIONS
+= LIB_MAN_SUFFIX
=3xi
38 LD_OPTIONS
+= -M
$(COMPONENT_DIR
)/mapfile-vers
40 # Packages needed to generate documentation
41 REQUIRED_PACKAGES
+= library
/libxslt
42 REQUIRED_PACKAGES
+= text
/xmlto
43 REQUIRED_PACKAGES
+= x11
/documentation
/xorg-sgml-doctools
45 # Auto-generated dependencies
46 REQUIRED_PACKAGES
+= system
/library
47 REQUIRED_PACKAGES
+= x11
/library
/libx11
48 REQUIRED_PACKAGES
+= x11
/library
/libxext