commit | author | age
|
8d4376
|
1 |
# |
AP |
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 2011 EveryCity Ltd. All rights reserved. |
|
22 |
# |
e4ec6e
|
23 |
include ../../../make-rules/shared-macros.mk |
8d4376
|
24 |
|
AP |
25 |
COMPONENT_NAME= aspell |
|
26 |
COMPONENT_VERSION= 0.60.6.1 |
04eddb
|
27 |
COMPONENT_REVISION= 2 |
AL |
28 |
COMPONENT_FMRI= text/aspell |
|
29 |
COMPONENT_SUMMARY= GNU Aspell spell checking library |
|
30 |
COMPONENT_CLASSIFICATION=System/Text Tools |
8d4376
|
31 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
AP |
32 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
33 |
COMPONENT_ARCHIVE_HASH= sha256:f52583a83a63633701c5f71db3dc40aab87b7f76b29723aeb27941eff42df6e1 |
|
34 |
COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) |
04eddb
|
35 |
COMPONENT_PROJECT_URL= http://aspell.net/ |
AL |
36 |
COMPONENT_LICENSE= LGPLv2.1 |
8d4376
|
37 |
|
AP |
38 |
|
fb65d5
|
39 |
include $(WS_TOP)/make-rules/prep.mk |
AP |
40 |
include $(WS_TOP)/make-rules/configure.mk |
|
41 |
include $(WS_TOP)/make-rules/ips.mk |
8d4376
|
42 |
|
da0cba
|
43 |
CXXFLAGS+=-I/usr/include/ncurses |
AP |
44 |
|
1824ea
|
45 |
LDFLAGS.32= $(LDFLAGS) -L$(GNULIB) -R $(GNULIB) |
AS |
46 |
LDFLAGS.64= $(LDFLAGS) -L$(GNULIB64) -R $(GNULIB64) |
da0cba
|
47 |
|
c48fae
|
48 |
COMPONENT_PRE_CONFIGURE_ACTION += cp -r $(SOURCE_DIR)/* $(@D) && \ |
AP |
49 |
cd $(@D) && autoconf |
1824ea
|
50 |
CONFIGURE_OPTIONS+= --sysconfdir=/etc |
AS |
51 |
CONFIGURE_OPTIONS+= --enable-shared |
|
52 |
CONFIGURE_OPTIONS+= --disable-static |
|
53 |
CONFIGURE_OPTIONS+= --with-pic |
|
54 |
CONFIGURE_OPTIONS+= --with-curses=ncurses |
|
55 |
|
da0cba
|
56 |
CONFIGURE_OPTIONS.32+= LDFLAGS="$(LDFLAGS.32)" |
AP |
57 |
CONFIGURE_OPTIONS.64+= LDFLAGS="$(LDFLAGS.64)" |
8d4376
|
58 |
|
AP |
59 |
build: $(BUILD_32_and_64) |
|
60 |
|
|
61 |
install: $(INSTALL_32_and_64) |
|
62 |
|
04eddb
|
63 |
# Auto-generated dependencies |
AL |
64 |
REQUIRED_PACKAGES += SUNWcs |
|
65 |
REQUIRED_PACKAGES += library/ncurses |
|
66 |
REQUIRED_PACKAGES += runtime/perl-522 |
|
67 |
REQUIRED_PACKAGES += system/library |
6e938f
|
68 |
REQUIRED_PACKAGES += system/library/g++-6-runtime |
969846
|
69 |
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG) |
04eddb
|
70 |
REQUIRED_PACKAGES += system/library/math |