|
1 # |
|
2 # CDDL HEADER START |
|
3 # |
|
4 # The contents of this file are subject to the terms of the |
|
5 # Common Development and Distribution License (the "License"). |
|
6 # You may not use this file except in compliance with the License. |
|
7 # |
|
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 # or http://www.opensolaris.org/os/licensing. |
|
10 # See the License for the specific language governing permissions |
|
11 # and limitations under the License. |
|
12 # |
|
13 # When distributing Covered Code, include this CDDL HEADER in each |
|
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 # If applicable, add the following below this CDDL HEADER, with the |
|
16 # fields enclosed by brackets "[]" replaced with your own identifying |
|
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 # |
|
19 # CDDL HEADER END |
|
20 # |
|
21 # Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
|
22 # |
|
23 |
|
24 include ../../../make-rules/shared-macros.mk |
|
25 |
|
26 COMPONENT_NAME= gtkspell |
|
27 COMPONENT_VERSION= 2.0.16 |
|
28 COMPONENT_PROJECT_URL= http://gtkspell.sourceforge.net/ |
|
29 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
30 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
31 COMPONENT_ARCHIVE_HASH= \ |
|
32 sha256:8fc7dc560167b2cb7193e76aca625a152dc19b0ebf49816b78539cbb90d80d02 |
|
33 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/download/$(COMPONENT_ARCHIVE) |
|
34 COMPONENT_BUGDB= library/gtkspell |
|
35 |
|
36 TPNO= 11953 |
|
37 |
|
38 include $(WS_MAKE_RULES)/prep.mk |
|
39 include $(WS_MAKE_RULES)/configure.mk |
|
40 include $(WS_MAKE_RULES)/ips.mk |
|
41 |
|
42 # Needed to pick up the GNU version of xgettext. |
|
43 PATH = /usr/gnu/bin:/usr/bin |
|
44 |
|
45 COMPONENT_PREP_ACTION = \ |
|
46 (cd $(@D) ; \ |
|
47 libtoolize --force --copy ; \ |
|
48 aclocal -I . ; \ |
|
49 libtoolize --force ; \ |
|
50 autoheader ; \ |
|
51 automake -a -c -f ; \ |
|
52 autoconf ) |
|
53 |
|
54 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
|
55 |
|
56 ASLR_MODE = $(ASLR_ENABLE) |
|
57 |
|
58 configure: $(CONFIGURE_32_and_64) |
|
59 |
|
60 build: $(BUILD_32_and_64) |
|
61 |
|
62 install: $(INSTALL_32_and_64) |
|
63 |
|
64 test: $(NO_TESTS) |
|
65 |
|
66 system-test: $(NO_TESTS) |
|
67 |
|
68 REQUIRED_PACKAGES += library/desktop/gtk2 |
|
69 REQUIRED_PACKAGES += library/glib2 |
|
70 REQUIRED_PACKAGES += library/spell-checking/enchant |
|
71 REQUIRED_PACKAGES += system/library |