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.
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.
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]
21 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
22 # Copyright (c) 2019, Michal Nowak
23 # Copyright (c) 2023, Niklas Poslovski
27 include ..
/..
/..
/make-rules
/shared-macros.mk
29 COMPONENT_NAME
= elinks
30 COMPONENT_VERSION
= 0.17.0
31 COMPONENT_SUMMARY
= advanced text-mode WWW browser
32 COMPONENT_PROJECT_URL
= https
://github.com
/rkd77
/elinks
33 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
34 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
35 COMPONENT_ARCHIVE_HASH
= sha256
:58c73a6694dbb7ccf4e22cee362cf14f1a20c09aaa4273343e8b7df9378b330e
36 COMPONENT_ARCHIVE_URL
= https
://github.com
/rkd77
/$(COMPONENT_NAME
)/releases
/download
/v
$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
37 COMPONENT_FMRI
= web
/browser
/elinks
38 COMPONENT_CLASSIFICATION
= Applications
/Internet
39 COMPONENT_LICENSE
= GPLv2
40 COMPONENT_LICENSE_FILE
= COPYING
42 TEST_TARGET
= $(NO_TESTS
)
43 include $(WS_MAKE_RULES
)/common.mk
47 CONFIGURE_OPTIONS
+= -Dgpm
=false
48 CONFIGURE_OPTIONS
+= -Didn
=false
49 # We don't have libcss
50 CONFIGURE_OPTIONS
+= -Dlibcss
=false
52 # Auto-generated dependencies
53 REQUIRED_PACKAGES
+= $(OPENSSL_PKG
)
54 REQUIRED_PACKAGES
+= library
/expat
55 REQUIRED_PACKAGES
+= library
/tre
56 REQUIRED_PACKAGES
+= library
/zlib
57 REQUIRED_PACKAGES
+= system
/library
58 REQUIRED_PACKAGES
+= web
/curl