gtk+3: fix dependencies for new gnome/accessibility/at-spi2-core
[oi-userland.git] / components / web / lynx / Makefile
blobb051bcb1c0d361045908692b594392db3675024c
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
14 # Copyright (c) 2019, Michal Nowak
17 # disable CONFIGURE_DEFAULT_DIRS, because lynx does not support --localdir
18 CONFIGURE_DEFAULT_DIRS=no
20 BUILD_BITS= 64
21 OPENSSL_VERSION= 3.1
22 include ../../../make-rules/shared-macros.mk
24 COMPONENT_NAME= lynx
25 COMPONENT_VERSION= 2.9.2
26 COMPONENT_REVISION= 1
27 COMPONENT_FMRI= web/browser/lynx
28 COMPONENT_SUMMARY= Text-mode web browser
29 COMPONENT_CLASSIFICATION= Applications/Internet
30 COMPONENT_PROJECT_URL= https://lynx.invisible-island.net/
31 COMPONENT_SRC= $(COMPONENT_NAME)$(COMPONENT_VERSION)
32 COMPONENT_ARCHIVE= $(COMPONENT_NAME)$(COMPONENT_VERSION).tar.bz2
33 COMPONENT_ARCHIVE_HASH= sha256:7374b89936d991669e101f4e97f2c9592036e1e8cdaa7bafc259a77ab6fb07ce
34 COMPONENT_ARCHIVE_URL= http://invisible-mirror.net/archives/$(COMPONENT_NAME)/tarballs/$(COMPONENT_ARCHIVE)
35 COMPONENT_LICENSE_FILE= COPYING
36 COMPONENT_LICENSE= GPLv2
38 include $(WS_MAKE_RULES)/common.mk
40 # Needed to successfully find lynx.pot.
41 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
43 CFLAGS += -std=c99 -D_XOPEN_SOURCE=600
44 CFLAGS += -I/usr/include/ncurses
45 CFLAGS += -I/usr/include/openssl
47 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
48 CONFIGURE_OPTIONS += --enable-nls
49 CONFIGURE_OPTIONS += --enable-japanese-utf8
50 CONFIGURE_OPTIONS += --enable-widec
51 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/lynx
52 CONFIGURE_OPTIONS += --with-ssl
53 CONFIGURE_OPTIONS += --with-screen=ncurses
55 # lynx should be installed before running tests
57 # Use the HTML and CSS styling external test suite as referenced at
58 # http://www.w3.org/2005/MWI/Tests/
59 COMPONENT_TEST_CMD = $(@D)/src/lynx
60 COMPONENT_TEST_ARGS = -dump \
61 http://web.archive.org/web/20160629092744/http://cameronmoll.com/mobile/mkp/pg1.html \
62 http://web.archive.org/web/20160629092744/http://cameronmoll.com/mobile/mkp/pg2.html \
63 http://web.archive.org/web/20160629092744/http://cameronmoll.com/mobile/mkp/pg3.html \
64 http://web.archive.org/web/20160629092744/http://cameronmoll.com/mobile/mkp/pg4.html
65 COMPONENT_TEST_TARGETS =
67 ASLR_MODE = $(ASLR_ENABLE)
69 # Auto-generated dependencies
70 REQUIRED_PACKAGES += $(OPENSSL_PKG)
71 REQUIRED_PACKAGES += compress/bzip2
72 REQUIRED_PACKAGES += library/brotli
73 REQUIRED_PACKAGES += library/libidn2
74 REQUIRED_PACKAGES += library/ncurses
75 REQUIRED_PACKAGES += library/zlib
76 REQUIRED_PACKAGES += system/library