2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2015 Alexander Pyhalov
15 include ..
/..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= gtkspell
18 COMPONENT_VERSION
= 2.0.16
20 COMPONENT_PROJECT_URL
= http
://gtkspell.sourceforge.net
/
21 COMPONENT_SUMMARY
= Gtkspell provides word-processor-style highlighting and replacement of misspelled
words in a GtkTextView widget
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
24 COMPONENT_ARCHIVE_HASH
= \
25 sha256
:8fc7dc560167b2cb7193e76aca625a152dc19b0ebf49816b78539cbb90d80d02
26 COMPONENT_ARCHIVE_URL
= http
://sourceforge.net
/projects
/gtkspell
/files
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)/download
27 COMPONENT_LICENSE
= GPLv2
28 COMPONENT_LICENSE_FILE
= COPYING
29 COMPONENT_CLASSIFICATION
= Applications
/Accessories
30 COMPONENT_FMRI
= library
/desktop
/gtkspell
32 include $(WS_MAKE_RULES
)/prep.mk
33 include $(WS_MAKE_RULES
)/configure.mk
34 include $(WS_MAKE_RULES
)/ips.mk
38 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && \
39 libtoolize
--copy
--force &&\
40 sed
-i
's/enchant >=/enchant-2 >=/' configure.ac
&&\
46 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
47 CONFIGURE_OPTIONS
+= --libexecdir
=$(CONFIGURE_LIBDIR.
$(BITS
))
48 CONFIGURE_OPTIONS
+= --disable-static
49 CONFIGURE_OPTIONS
+= --disable-gtk-doc
52 build
: $(BUILD_32_and_64
)
54 install: $(INSTALL_32_and_64
)
58 # Auto-generated dependencies
59 REQUIRED_PACKAGES
+= library
/desktop
/gtk2
60 REQUIRED_PACKAGES
+= library
/glib2
61 REQUIRED_PACKAGES
+= library
/spell-checking
/enchant
62 REQUIRED_PACKAGES
+= system
/library
63 REQUIRED_PACKAGES
+= developer
/documentation-tool
/gtk-doc