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
= enchant
19 COMPONENT_VERSION
= 1.6.0
20 COMPONENT_SUMMARY
= GNOME spell checker component
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
23 COMPONENT_ARCHIVE_HASH
= \
24 sha256
:2fac9e7be7e9424b2c5570d8affe568db39f7572c10ed48d4e13cddf03f7097f
25 COMPONENT_ARCHIVE_URL
= \
26 http
://www.abisource.com
/downloads
/$(COMPONENT_NAME
)/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
27 COMPONENT_PROJECT_URL
= http
://www.abisource.com
/projects
/enchant
/
28 COMPONENT_LICENSE_FILE
= COPYING.LIB
29 COMPONENT_LICENSE
= LGPLv2.1
30 COMPONENT_FMRI
= library
/spell-checking
/enchant
31 COMPONENT_CLASSIFICATION
= Applications
/Accessories
33 include ..
/..
/make-rules
/prep.mk
34 include ..
/..
/make-rules
/configure.mk
35 include ..
/..
/make-rules
/ips.mk
37 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && \
38 libtoolize
--copy
--force &&\
39 aclocal
-I ac-helpers
&&\
43 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
44 CONFIGURE_OPTIONS
+= --localstatedir
=/var
45 CONFIGURE_OPTIONS
+= --with-myspell-dir
=/usr
/share
/spell
/myspell
46 CONFIGURE_OPTIONS
+= --disable-aspell
47 CONFIGURE_OPTIONS
+= --disable-static
49 build
: $(BUILD_32_and_64
)
51 install: $(INSTALL_32_and_64
)