sbcl: update to 2.5.1
[oi-userland.git] / components / network / weechat / Makefile
blob55cc1d284c9327e7bf5939f8784c218e936d6fee
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
15 BUILD_STYLE= cmake
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.5.1
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:67c143c7bc70e689b9ea86df674c9a9ff3cf44ccc9cdff21be6a561d5eafc528
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
41 PATH= $(PATH.gnu)
43 CFLAGS += $(XPG6MODE)
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_POST_INSTALL_ACTION= \
56 for file in `find $(PROTO_DIR)/usr/lib/weechat/plugins/ -name "ruby.so"`; do \
57 $(ELFEDIT) -e 'dyn:value -s RUNPATH "$(GCC_LIBDIR):$(RUBY_LIBDIR)"' $$file ; \
58 $(ELFEDIT) -e 'dyn:value -s RPATH "$(GCC_LIBDIR):$(RUBY_LIBDIR)"' $$file ; \
59 done ;
61 # Auto-generated dependencies
62 PERL_REQUIRED_PACKAGES += runtime/perl
63 PYTHON_REQUIRED_PACKAGES += runtime/python
64 REQUIRED_PACKAGES += compress/zstd
65 REQUIRED_PACKAGES += library/gnutls-3
66 REQUIRED_PACKAGES += library/guile
67 REQUIRED_PACKAGES += library/ncurses
68 REQUIRED_PACKAGES += library/zlib
69 REQUIRED_PACKAGES += runtime/lua
70 REQUIRED_PACKAGES += runtime/ruby-32
71 REQUIRED_PACKAGES += runtime/tcl-8
72 REQUIRED_PACKAGES += system/library
73 REQUIRED_PACKAGES += system/library/math
74 REQUIRED_PACKAGES += system/library/security/libgcrypt
75 REQUIRED_PACKAGES += text/aspell
76 REQUIRED_PACKAGES += web/curl