4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.illumos.org/license/CDDL.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
21 # Copyright (c) 2013-2020, Aurelien Larcher. All rights reserved.
23 include ..
/..
/..
/make-rules
/shared-macros.mk
25 COMPONENT_NAME
= xcb-proto
26 COMPONENT_VERSION
= 1.17.0
27 COMPONENT_SUMMARY
= The X protocol C-language Binding
(XCB
): Protocol descriptions
28 COMPONENT_PROJECT_URL
= https
://xcb.freedesktop.org
29 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
30 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
31 COMPONENT_ARCHIVE_HASH
= sha256
:2c1bacd2110f4799f74de6ebb714b94cf6f80fb112316b1219480fd22562148c
32 COMPONENT_ARCHIVE_URL
= https
://xorg.freedesktop.org
/archive
/individual
/proto
/$(COMPONENT_ARCHIVE
)
33 COMPONENT_FMRI
= x11
/header
/xcb-protocols
34 COMPONENT_CLASSIFICATION
= Development
/X11
35 COMPONENT_LICENSE
= MIT
36 COMPONENT_LICENSE_FILE
= COPYING
38 TEST_TARGET
= $(NO_TESTS
)
40 include $(WS_MAKE_RULES
)/common.mk
42 PKG_MACROS
+= PYVER
="$(PYTHON_VERSION)"
44 CONFIGURE_ENV
+= PYTHON
=$(PYTHON
)
45 CONFIGURE_ENV
+= am_cv_python_pythondir
="$(PYTHON_VENDOR_PACKAGES)"
46 CONFIGURE_ENV
+= am_cv_python_pyexecdir
="$(PYTHON_VENDOR_PACKAGES)"
49 REQUIRED_PACKAGES
+= developer
/build
/autoconf
/xorg-macros
50 REQUIRED_PACKAGES
+= library
/libxml2
52 # Manually added dependency on python runtime
53 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
55 # Auto-generated dependencies