2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright (c) 2020 Evgeny Litvinenko
16 SINGLE_PYTHON_VERSION
= yes
17 SINGLE_PERL_VERSION
= yes
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= weechat
21 COMPONENT_VERSION
= 4.4.3
22 COMPONENT_SUMMARY
= WeeChat
- portable
, fast
, light and extensible IRC client
23 COMPONENT_DESCRIPTION
= WeeChat
(Wee Enhanced Environment for Chat
) is a portable
, fast
, light and \
24 extensible chat client. Everything can be done with a keyboard. \
25 It is customizable and extensible with scripts.
26 COMPONENT_PROJECT_URL
= https
://weechat.org
27 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
28 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
29 COMPONENT_ARCHIVE_HASH
= sha256
:295612f8dc24af28c918257d3014eb53342a5d077d5e3d9a3eadf303bd8febfa
30 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/files
/src
/$(COMPONENT_ARCHIVE
)
31 # The signature is invalid
32 #COMPONENT_SIG_URL= $(COMPONENT_ARCHIVE_URL).asc
33 COMPONENT_FMRI
= network
/chat
/weechat
34 COMPONENT_CLASSIFICATION
= Applications
/Internet
35 COMPONENT_LICENSE
= GPLv3
36 COMPONENT_LICENSE_FILE
= COPYING
38 TEST_TARGET
= $(NO_TESTS
)
39 include $(WS_MAKE_RULES
)/common.mk
45 LD_OPTIONS
+= -lresolv
-lsocket
-lnsl
47 # default value of option weechat.network.gnutls_ca_file (default is "/etc/ssl/certs/ca-certificates.crt")
48 # Alas since version 3.2 this is not supported anymore.
49 CMAKE_OPTIONS
+= -DCA_FILE
="/etc/certs/ca-certificates.crt"
50 # We don't have PHP libraries (PHP with --enable-embed)
51 CMAKE_OPTIONS
+= -DENABLE_PHP
=OFF
52 # We don't have libcjson
53 CMAKE_OPTIONS
+= -DENABLE_CJSON
=OFF
55 #COMPONENT_TEST_CMD= ctest -V
56 #COMPONENT_TEST_TARGETS=
58 # Auto-generated dependencies
59 PERL_REQUIRED_PACKAGES
+= runtime
/perl
60 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
61 REQUIRED_PACKAGES
+= compress
/zstd
62 REQUIRED_PACKAGES
+= library
/gnutls-3
63 REQUIRED_PACKAGES
+= library
/guile
64 REQUIRED_PACKAGES
+= library
/ncurses
65 REQUIRED_PACKAGES
+= library
/zlib
66 REQUIRED_PACKAGES
+= runtime
/lua
67 REQUIRED_PACKAGES
+= runtime
/ruby-32
68 REQUIRED_PACKAGES
+= runtime
/tcl-8
69 REQUIRED_PACKAGES
+= system
/library
70 REQUIRED_PACKAGES
+= system
/library
/math
71 REQUIRED_PACKAGES
+= system
/library
/security
/libgcrypt
72 REQUIRED_PACKAGES
+= text
/aspell
73 REQUIRED_PACKAGES
+= web
/curl