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 |
|
22 # |
|
23 # Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. |
|
24 # |
|
25 BUILD_BITS= 64 |
|
26 COMPILER= gcc |
|
27 include ../../make-rules/shared-macros.mk |
|
28 |
|
29 COMPONENT_NAME= w3m |
|
30 COMPONENT_VERSION= 0.5.3 |
|
31 COMPONENT_PROJECT_URL= http://w3m.sourceforge.net/ |
|
32 COMPONENT_ARCHIVE_HASH= \ |
|
33 sha256:e994d263f2fd2c22febfbe45103526e00145a7674a0fda79c822b97c2770a9e3 |
|
34 COMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/$(COMPONENT_NAME)/files/$(COMPONENT_NAME)/$(COMPONENT_SRC)/$(COMPONENT_ARCHIVE)/download |
|
35 |
|
36 TPNO= 21998 |
|
37 |
|
38 SYSTEM_TEST_TARGET= $(SYSTEM_TEST_64) |
|
39 |
|
40 # Depends on newer cairo, which cannot be updated in S11. |
|
41 include $(WS_MAKE_RULES)/no-evaluation.mk |
|
42 |
|
43 include $(WS_MAKE_RULES)/common.mk |
|
44 |
|
45 COMPONENT_PREP_ACTION = (cd $(@D) ; autoconf ; automake ; aclocal ; libtoolize ) |
|
46 |
|
47 # install the bits in /usr/bin and /usr/lib |
|
48 CONFIGURE_LIBDIR.64= $(CONFIGURE_LIBDIR.32) |
|
49 |
|
50 CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.32) |
|
51 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR) |
|
52 CONFIGURE_OPTIONS += --with-browser=$(USRBINDIR)/firefox |
|
53 CONFIGURE_OPTIONS += LIBS="-lX11" |
|
54 |
|
55 # Use the HTML and CSS styling external test suite as referenced at |
|
56 # http://www.w3.org/2005/MWI/Tests/ |
|
57 COMPONENT_TEST_CMD = $(@D)/w3m |
|
58 COMPONENT_TEST_ARGS = -dump \ |
|
59 http://www.cameronmoll.com/mobile/mkp/pg1.html \ |
|
60 http://www.cameronmoll.com/mobile/mkp/pg2.html \ |
|
61 http://www.cameronmoll.com/mobile/mkp/pg3.html \ |
|
62 http://www.cameronmoll.com/mobile/mkp/pg4.html |
|
63 COMPONENT_TEST_TARGETS = |
|
64 |
|
65 COMPONENT_SYSTEM_TEST_DIR = |
|
66 COMPONENT_SYSTEM_TEST_CMD = $(USRBINDIR)/w3m |
|
67 COMPONENT_SYSTEM_TEST_ARGS = -dump \ |
|
68 http://www.cameronmoll.com/mobile/mkp/pg1.html \ |
|
69 http://www.cameronmoll.com/mobile/mkp/pg2.html \ |
|
70 http://www.cameronmoll.com/mobile/mkp/pg3.html \ |
|
71 http://www.cameronmoll.com/mobile/mkp/pg4.html |
|
72 COMPONENT_SYSTEM_TEST_TARGETS = |
|
73 |
|
74 # The desktop packages differ between S11 and S12; list both for normal |
|
75 # and BUILD_TYPE=evaluation builds. |
|
76 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf |
|
77 REQUIRED_PACKAGES += library/desktop/gtk2 |
|
78 REQUIRED_PACKAGES += library/gc |
|
79 REQUIRED_PACKAGES += library/glib2 |
|
80 REQUIRED_PACKAGES += library/security/openssl |
|
81 REQUIRED_PACKAGES += library/security/openssl/openssl-fips-140 |
|
82 REQUIRED_PACKAGES += library/zlib |
|
83 REQUIRED_PACKAGES += $(PERL_PKG) |
|
84 REQUIRED_PACKAGES += system/library/math |
|
85 REQUIRED_PACKAGES += x11/library/libx11 |
|