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