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
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= xcb-util-errors
19 COMPONENT_VERSION
= 1.0.1
20 COMPONENT_SUMMARY
= The X protocol C-language Binding
(XCB
): utility library giving human readble names to error codes and event codes
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
23 COMPONENT_ARCHIVE_HASH
= sha256
:5628c87b984259ad927bacd8a42958319c36bdf4b065887803c9d820fb80f357
24 COMPONENT_PROJECT_URL
= https
://xcb.freedesktop.org
/
25 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/dist/$(COMPONENT_ARCHIVE
)
26 COMPONENT_FMRI
= x11
/library
/xcb-util-errors
27 COMPONENT_CLASSIFICATION
= System
/X11
28 COMPONENT_LICENSE
= MIT License
30 TEST_TARGET
= $(NO_TESTS
)
31 include $(WS_MAKE_RULES
)/common.mk
35 CONFIGURE_OPTIONS
+= --disable-static
36 CONFIGURE_OPTIONS
+= --enable-shared
38 # Auto-generated dependencies
39 REQUIRED_PACKAGES
+= system
/library
40 REQUIRED_PACKAGES
+= x11
/library
/libxcb