author | April Chin <april.chin@oracle.com> |
Tue, 01 Sep 2015 09:29:08 -0700 | |
changeset 4833 | b9009ad1e605 |
parent 4206 | a24a2855075c |
child 4967 | c997e4903b71 |
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 |
# |
3686
c1ae48efb7af
20414425 lynx should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
3680
diff
changeset
|
21 |
# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. |
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
# |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3686
diff
changeset
|
23 |
|
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3686
diff
changeset
|
24 |
COMPILER = gcc |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3686
diff
changeset
|
25 |
|
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= w3m |
3995
7d35330d300c
20738232 w3m should be updated to version 0.5.3
Rich Burridge <rich.burridge@oracle.com>
parents:
3817
diff
changeset
|
29 |
COMPONENT_VERSION= 0.5.3 |
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://w3m.sourceforge.net/ |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE_HASH= \ |
3995
7d35330d300c
20738232 w3m should be updated to version 0.5.3
Rich Burridge <rich.burridge@oracle.com>
parents:
3817
diff
changeset
|
34 |
sha256:e994d263f2fd2c22febfbe45103526e00145a7674a0fda79c822b97c2770a9e3 |
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/$(COMPONENT_NAME)/files/$(COMPONENT_NAME)/$(COMPONENT_SRC)/$(COMPONENT_ARCHIVE)/download |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
36 |
COMPONENT_BUGDB= utility/w3m |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
37 |
|
3995
7d35330d300c
20738232 w3m should be updated to version 0.5.3
Rich Burridge <rich.burridge@oracle.com>
parents:
3817
diff
changeset
|
38 |
TPNO= 21998 |
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
39 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3686
diff
changeset
|
40 |
include $(WS_MAKE_RULES)/prep.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3686
diff
changeset
|
41 |
include $(WS_MAKE_RULES)/configure.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3686
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/ips.mk |
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
43 |
|
3995
7d35330d300c
20738232 w3m should be updated to version 0.5.3
Rich Burridge <rich.burridge@oracle.com>
parents:
3817
diff
changeset
|
44 |
COMPONENT_PREP_ACTION = (cd $(@D) ; autoconf ; automake ; aclocal ; libtoolize ) |
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
45 |
|
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
46 |
# install the bits in /usr/bin and /usr/lib |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
47 |
CONFIGURE_BINDIR.64 = $(CONFIGURE_BINDIR.32) |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
48 |
CONFIGURE_LIBDIR.64 = $(CONFIGURE_LIBDIR.32) |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
49 |
|
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
50 |
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
51 |
CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.32) |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
52 |
CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR) |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
53 |
CONFIGURE_OPTIONS += --with-browser=/usr/bin/firefox |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
54 |
|
3686
c1ae48efb7af
20414425 lynx should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
3680
diff
changeset
|
55 |
# 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
|
56 |
# 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
|
57 |
COMPONENT_TEST_CMD = $(@D)/w3m |
c1ae48efb7af
20414425 lynx should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
3680
diff
changeset
|
58 |
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
|
59 |
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
|
60 |
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
|
61 |
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
|
62 |
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
|
63 |
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
|
64 |
|
4206
a24a2855075c
20974465 Two "gmake system-test" infrastructure fixes plus 3 components with system tests
Rich Burridge <rich.burridge@oracle.com>
parents:
3995
diff
changeset
|
65 |
COMPONENT_SYSTEM_TEST_DIR = |
a24a2855075c
20974465 Two "gmake system-test" infrastructure fixes plus 3 components with system tests
Rich Burridge <rich.burridge@oracle.com>
parents:
3995
diff
changeset
|
66 |
COMPONENT_SYSTEM_TEST_CMD = /usr/bin/w3m |
a24a2855075c
20974465 Two "gmake system-test" infrastructure fixes plus 3 components with system tests
Rich Burridge <rich.burridge@oracle.com>
parents:
3995
diff
changeset
|
67 |
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:
3995
diff
changeset
|
68 |
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:
3995
diff
changeset
|
69 |
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:
3995
diff
changeset
|
70 |
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:
3995
diff
changeset
|
71 |
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:
3995
diff
changeset
|
72 |
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:
3995
diff
changeset
|
73 |
|
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
74 |
ASLR_MODE = $(ASLR_ENABLE) |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
75 |
|
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
76 |
configure: $(CONFIGURE_64) |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
77 |
|
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
78 |
build: $(BUILD_64) |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
79 |
|
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
80 |
install: $(INSTALL_64) |
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
81 |
|
3686
c1ae48efb7af
20414425 lynx should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
3680
diff
changeset
|
82 |
test: $(TEST_64) |
4206
a24a2855075c
20974465 Two "gmake system-test" infrastructure fixes plus 3 components with system tests
Rich Burridge <rich.burridge@oracle.com>
parents:
3995
diff
changeset
|
83 |
system-test: $(SYSTEM_TEST_64) |
3680
4dc408325e7e
20146056 Move w3m from the Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
84 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3686
diff
changeset
|
85 |
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3686
diff
changeset
|
86 |
REQUIRED_PACKAGES += library/gc |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3686
diff
changeset
|
87 |
REQUIRED_PACKAGES += library/glib2 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3686
diff
changeset
|
88 |
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
|
89 |
REQUIRED_PACKAGES += library/security/openssl/openssl-fips-140 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3686
diff
changeset
|
90 |
REQUIRED_PACKAGES += library/zlib |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3686
diff
changeset
|
91 |
REQUIRED_PACKAGES += runtime/perl-512 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3686
diff
changeset
|
92 |
REQUIRED_PACKAGES += system/library |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3686
diff
changeset
|
93 |
REQUIRED_PACKAGES += system/library/math |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3686
diff
changeset
|
94 |
REQUIRED_PACKAGES += x11/library/libx11 |