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
16 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_VERSION
= 1.7.9
20 COMPONENT_SUMMARY
= libXi
- X Input extension client library
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
23 COMPONENT_ARCHIVE_HASH
= \
24 sha256
:c2e6b8ff84f9448386c1b5510a5cf5a16d788f76db018194dacdc200180faf45
25 COMPONENT_ARCHIVE_URL
= \
26 http
://xorg.freedesktop.org
/archive
/individual
/lib
/$(COMPONENT_ARCHIVE
)
27 COMPONENT_PROJECT_URL
= http
://xorg.freedesktop.org
28 COMPONENT_FMRI
= x11
/library
/libxi
29 COMPONENT_CLASSIFICATION
= System
/X11
30 COMPONENT_LICENSE
= MIT
31 COMPONENT_LICENSE_FILE
= COPYING
33 include $(WS_MAKE_RULES
)/prep.mk
34 include $(WS_MAKE_RULES
)/configure.mk
35 include $(WS_MAKE_RULES
)/ips.mk
37 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && autoreconf
-f
-i
)
39 CONFIGURE_OPTIONS
+= --localstatedir
=/var
40 CONFIGURE_OPTIONS
+= --enable-shared
=yes
41 CONFIGURE_OPTIONS
+= --enable-static
=no
42 CONFIGURE_OPTIONS
+= --with-pic
44 LD_OPTIONS
+= -M
$(COMPONENT_DIR
)/mapfile-vers
46 build
: $(BUILD_32_and_64
)
48 install: $(INSTALL_32_and_64
)
50 REQUIRED_PACKAGES
+= system
/library
51 REQUIRED_PACKAGES
+= x11
/library
/libx11
52 REQUIRED_PACKAGES
+= x11
/library
/libxext