commit | author | age
|
622e82
|
1 |
# |
AL |
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 |
f81f97
|
14 |
# Copyright 2022 Niklas Poslovski |
622e82
|
15 |
# |
63bbd3
|
16 |
|
f2ea5a
|
17 |
BUILD_BITS= 64 |
622e82
|
18 |
include ../../../make-rules/shared-macros.mk |
AL |
19 |
|
|
20 |
COMPONENT_NAME= enchant |
63bbd3
|
21 |
COMPONENT_VERSION= 2.6.8 |
622e82
|
22 |
COMPONENT_SUMMARY= GNOME spell checker component |
AL |
23 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
24 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
63bbd3
|
25 |
COMPONENT_ARCHIVE_HASH= sha256:f565923062c77f3d58846f0558d21e6d07ca4a488c58812dfdefb35202fac7ae |
ac8dea
|
26 |
COMPONENT_ARCHIVE_URL= https://github.com/AbiWord/enchant/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
AW |
27 |
COMPONENT_PROJECT_URL= https://abiword.github.io/enchant/ |
|
28 |
COMPONENT_FMRI= library/spell-checking/enchant |
|
29 |
COMPONENT_CLASSIFICATION= Applications/Accessories |
155bda
|
30 |
COMPONENT_LICENSE= LGPLv2.1 |
AW |
31 |
COMPONENT_LICENSE_FILE= COPYING.LIB |
622e82
|
32 |
|
ac8dea
|
33 |
# C tests pass but we do not have unittest-cpp |
155bda
|
34 |
TEST_TARGET= $(NO_TESTS) |
ac8dea
|
35 |
include $(WS_MAKE_RULES)/common.mk |
622e82
|
36 |
|
AL |
37 |
COMPONENT_PREP_ACTION = ( cd $(@D) && autoreconf -vif ) |
|
38 |
|
63bbd3
|
39 |
CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR) |
422921
|
40 |
CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.$(BITS)) |
63bbd3
|
41 |
CONFIGURE_OPTIONS += --localstatedir=$(VARDIR) |
AW |
42 |
CONFIGURE_OPTIONS += --with-hunspell-dir=$(USRSHAREDIR)/spell/hunspell |
622e82
|
43 |
CONFIGURE_OPTIONS += --disable-aspell |
AL |
44 |
CONFIGURE_OPTIONS += --disable-static |
|
45 |
CONFIGURE_OPTIONS += OBJC=$(CC) |
|
46 |
|
|
47 |
# Auto-generated dependencies |
f81f97
|
48 |
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG) |
NP |
49 |
REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG) |
622e82
|
50 |
REQUIRED_PACKAGES += library/glib2 |
AL |
51 |
REQUIRED_PACKAGES += system/library |
f81f97
|
52 |
REQUIRED_PACKAGES += text/aspell |
622e82
|
53 |
REQUIRED_PACKAGES += text/hunspell |