author | zihao.zhu@oracle.com <zihao.zhu@oracle.com> |
Mon, 17 Oct 2016 09:22:53 -0700 | |
changeset 7116 | 24e5d18aa27c |
parent 5682 | 94c0ca64c022 |
child 7176 | 0e37c7cc2ce5 |
permissions | -rw-r--r-- |
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
# |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
# |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
# |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
# |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
18 |
# |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
20 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4206
diff
changeset
|
21 |
|
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4206
diff
changeset
|
23 |
# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4206
diff
changeset
|
24 |
# |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4206
diff
changeset
|
25 |
BUILD_BITS= 64 |
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
27 |
|
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= lynx |
3886
23032290b95a
20555289 lynx should be updated to version 2.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
3817
diff
changeset
|
29 |
COMPONENT_VERSION= 2.8.8 |
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_PROJECT_URL= http://lynx.isc.org/ |
3886
23032290b95a
20555289 lynx should be updated to version 2.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
3817
diff
changeset
|
31 |
COMPONENT_SRC= $(COMPONENT_NAME)2-8-8 |
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE= $(COMPONENT_NAME)$(COMPONENT_VERSION).tar.bz2 |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE_HASH= \ |
3886
23032290b95a
20555289 lynx should be updated to version 2.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
3817
diff
changeset
|
34 |
sha256:6980e75cf0d677fd52c116e2e0dfd3884e360970c88c8356a114338500d5bee7 |
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_NAME)$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
36 |
|
3886
23032290b95a
20555289 lynx should be updated to version 2.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
3817
diff
changeset
|
37 |
TPNO= 21553 |
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
38 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4206
diff
changeset
|
39 |
SYSTEM_TEST_TARGET= $(SYSTEM_TEST_64) |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4206
diff
changeset
|
40 |
include $(WS_MAKE_RULES)/common.mk |
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
41 |
|
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
42 |
# Needed to successfully find lynx.pot. |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
43 |
COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D)) |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
44 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4206
diff
changeset
|
45 |
CFLAGS += -I$(USRINCDIR)/ncurses |
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
46 |
|
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
47 |
CONFIGURE_OPTIONS += --enable-nls |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
48 |
CONFIGURE_OPTIONS += --enable-japanese-utf8 |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
49 |
CONFIGURE_OPTIONS += --enable-widec |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
50 |
CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/lynx |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
51 |
CONFIGURE_OPTIONS += --with-ssl |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
52 |
CONFIGURE_OPTIONS += --with-screen=ncurses |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
53 |
|
3686
c1ae48efb7af
20414425 lynx should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
3680
diff
changeset
|
54 |
# Use the HTML and CSS styling external test suite as referenced at |
c1ae48efb7af
20414425 lynx should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
3680
diff
changeset
|
55 |
# http://www.w3.org/2005/MWI/Tests/ |
c1ae48efb7af
20414425 lynx should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
3680
diff
changeset
|
56 |
COMPONENT_TEST_CMD = $(@D)/src/lynx |
c1ae48efb7af
20414425 lynx should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
3680
diff
changeset
|
57 |
COMPONENT_TEST_ARGS = -dump \ |
c1ae48efb7af
20414425 lynx should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
3680
diff
changeset
|
58 |
http://www.cameronmoll.com/mobile/mkp/pg1.html \ |
c1ae48efb7af
20414425 lynx should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
3680
diff
changeset
|
59 |
http://www.cameronmoll.com/mobile/mkp/pg2.html \ |
c1ae48efb7af
20414425 lynx should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
3680
diff
changeset
|
60 |
http://www.cameronmoll.com/mobile/mkp/pg3.html \ |
c1ae48efb7af
20414425 lynx should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
3680
diff
changeset
|
61 |
http://www.cameronmoll.com/mobile/mkp/pg4.html |
c1ae48efb7af
20414425 lynx should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
3680
diff
changeset
|
62 |
COMPONENT_TEST_TARGETS = |
c1ae48efb7af
20414425 lynx should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
3680
diff
changeset
|
63 |
|
4206
a24a2855075c
20974465 Two "gmake system-test" infrastructure fixes plus 3 components with system tests
Rich Burridge <rich.burridge@oracle.com>
parents:
3886
diff
changeset
|
64 |
COMPONENT_SYSTEM_TEST_DIR = |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4206
diff
changeset
|
65 |
COMPONENT_SYSTEM_TEST_CMD = $(USRBINDIR)/lynx |
4206
a24a2855075c
20974465 Two "gmake system-test" infrastructure fixes plus 3 components with system tests
Rich Burridge <rich.burridge@oracle.com>
parents:
3886
diff
changeset
|
66 |
COMPONENT_SYSTEM_TEST_ARGS = -dump \ |
a24a2855075c
20974465 Two "gmake system-test" infrastructure fixes plus 3 components with system tests
Rich Burridge <rich.burridge@oracle.com>
parents:
3886
diff
changeset
|
67 |
http://www.cameronmoll.com/mobile/mkp/pg1.html \ |
a24a2855075c
20974465 Two "gmake system-test" infrastructure fixes plus 3 components with system tests
Rich Burridge <rich.burridge@oracle.com>
parents:
3886
diff
changeset
|
68 |
http://www.cameronmoll.com/mobile/mkp/pg2.html \ |
a24a2855075c
20974465 Two "gmake system-test" infrastructure fixes plus 3 components with system tests
Rich Burridge <rich.burridge@oracle.com>
parents:
3886
diff
changeset
|
69 |
http://www.cameronmoll.com/mobile/mkp/pg3.html \ |
a24a2855075c
20974465 Two "gmake system-test" infrastructure fixes plus 3 components with system tests
Rich Burridge <rich.burridge@oracle.com>
parents:
3886
diff
changeset
|
70 |
http://www.cameronmoll.com/mobile/mkp/pg4.html |
a24a2855075c
20974465 Two "gmake system-test" infrastructure fixes plus 3 components with system tests
Rich Burridge <rich.burridge@oracle.com>
parents:
3886
diff
changeset
|
71 |
COMPONENT_SYSTEM_TEST_TARGETS = |
a24a2855075c
20974465 Two "gmake system-test" infrastructure fixes plus 3 components with system tests
Rich Burridge <rich.burridge@oracle.com>
parents:
3886
diff
changeset
|
72 |
|
3886
23032290b95a
20555289 lynx should be updated to version 2.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
3817
diff
changeset
|
73 |
REQUIRED_PACKAGES += library/libidn |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3686
diff
changeset
|
74 |
REQUIRED_PACKAGES += library/ncurses |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3686
diff
changeset
|
75 |
REQUIRED_PACKAGES += library/security/openssl |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3686
diff
changeset
|
76 |
REQUIRED_PACKAGES += library/security/openssl/openssl-fips-140 |