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 Alexander Pyhalov
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= imf-selector
19 COMPONENT_VERSION
= 0.5.11
21 COMPONENT_SUMMARY
= Input Method Framework startup
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
29 TEST_TARGET
= $(NO_TESTS
)
31 include $(WS_MAKE_RULES
)/common.mk
35 $(SOURCE_DIR
)/.prep
: Makefile
40 # Missing files in build dir for configure without this.
41 COMPONENT_PRE_CONFIGURE_ACTION
= (cp
-a
$(SOURCE_DIR
)/* $(@D
))
43 CONFIGURE_SCRIPT
= $(@D
)/autogen.sh
45 CONFIGURE_OPTIONS
+= --sysconfdir
=$(ETCDIR
)
47 CONFIGURE_ENV
+= PYTHON
=$(PYTHON
)
50 $(RM
) $(SOURCE_DIR
)/.prep
51 $(RM
) -rf
$(BUILD_DIR
)
53 # Auto-generated dependencies
54 PYTHON_REQUIRED_PACKAGES
+= library
/python
/pygobject-3
55 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
56 REQUIRED_PACKAGES
+= shell/ksh93