gcc-6: use $(GNU_ARCH) in manifest
[unleashed-userland.git] / components / inputmethod / ibus-anthy / Makefile
blob6a8edf85566378774d0326f480f83aa6e4d19583
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.
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
18 COMPONENT_NAME= ibus-anthy
19 COMPONENT_VERSION= 1.2.7
20 # version was bumped in g11n/inputmethod
21 HUMAN_VERSION= 1.2.7
22 IPS_COMPONENT_VERSION= 1.3.9
23 COMPONENT_CLASSIFICATION= System/Internationalization
24 COMPONENT_SUMMARY= iBus Japanese IME - anthy
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
27 COMPONENT_ARCHIVE_HASH= \
28 sha256:33c42c1612423f84fddd8c38f8b2439b8af5f0b5fc7725ae195a01b8999d85e9
29 COMPONENT_ARCHIVE_URL= \
30 https://github.com/ibus/ibus-anthy/releases/download/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
31 COMPONENT_PROJECT_URL = https://github.com/fujiwarat/ibus-anthy/wiki
32 COMPONENT_FMRI = system/input-method/ibus/anthy
33 COMPONENT_LICENSE = GPLv2
34 COMPONENT_LICENSE_FILE = COPYING
36 include $(WS_MAKE_RULES)/prep.mk
37 include $(WS_MAKE_RULES)/configure.mk
38 include $(WS_MAKE_RULES)/ips.mk
40 PATH = /usr/gnu/bin:/usr/bin
42 CONFIGURE_OPTIONS += --sysconfdir=/etc
43 CONFIGURE_OPTIONS += --libexecdir=/usr/lib/ibus
45 CONFIGURE_ENV += PYTHON="$(PYTHON)"
46 CONFIGURE_ENV += am_cv_python_pythondir="$(PYTHON_VENDOR_PACKAGES)"
47 CONFIGURE_ENV += am_cv_python_pyexecdir="$(PYTHON_VENDOR_PACKAGES)"
49 build: $(BUILD_32)
51 install: $(INSTALL_32)
53 test: $(TEST_32)
55 REQUIRED_PACKAGES += SUNWcs
56 REQUIRED_PACKAGES += runtime/python-27
57 REQUIRED_PACKAGES += system/input-method/library/libanthy
58 REQUIRED_PACKAGES += system/library