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