Marcel Telka
2023-12-01 7d298e25db28ef681b9b01b25ff8db69a15635ae
commit | author | age
b94eac 1 #
AP 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
5 # 1.0 of the CDDL.
6 #
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.
10 #
11
12 #
13 # Copyright 2015 Alexander Pyhalov
14 #
15
16 include ../../../make-rules/shared-macros.mk
17
18 COMPONENT_NAME= imf-selector
19 COMPONENT_VERSION= 0.5.11
7d298e 20 COMPONENT_REVISION= 4
b94eac 21 COMPONENT_SUMMARY= Input Method Framework startup
AP 22 COMPONENT_SRC = src
23 COMPONENT_PROJECT_URL = http://www.openindiana.org
24 COMPONENT_FMRI = system/input-method/imf-startup
25 COMPONENT_LICENSE_FILE = OPENSOLARIS.LICENSE
26 COMPONENT_LICENSE = CDDL
27 COMPONENT_CLASSIFICATION = System/Internationalization
28
a58caa 29 TEST_TARGET = $(NO_TESTS)
7d298e 30
a58caa 31 include $(WS_MAKE_RULES)/common.mk
b94eac 32
a58caa 33 clobber:: clean
b94eac 34
AP 35 $(SOURCE_DIR)/.prep:    Makefile
36     $(TOUCH) $@
37
a58caa 38 PATH=$(PATH.gnu)
b94eac 39
AP 40 # Missing files in build dir for configure without this.
41 COMPONENT_PRE_CONFIGURE_ACTION =        (cp -a $(SOURCE_DIR)/* $(@D))
42
43 CONFIGURE_SCRIPT = $(@D)/autogen.sh
44
7d298e 45 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
02f3f6 46
AP 47 CONFIGURE_ENV += PYTHON=$(PYTHON)
b94eac 48
AP 49 clean::
50     $(RM) $(SOURCE_DIR)/.prep
51     $(RM) -rf $(BUILD_DIR)
52
a58caa 53 # Auto-generated dependencies
7d298e 54 PYTHON_REQUIRED_PACKAGES += library/python/pygobject-3
MT 55 PYTHON_REQUIRED_PACKAGES += runtime/python
56 REQUIRED_PACKAGES += shell/ksh93