ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / mail / mutt / Makefile
blob211eab8f511b10553c107049fb1ad4903e8c68f3
2 # CDDL HEADER START
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]
19 # CDDL HEADER END
23 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
24 # Copyright 2019, Michal Nowak
26 OPENSSL_VERSION= 3.1
27 include ../../../make-rules/shared-macros.mk
29 COMPONENT_NAME= mutt
30 COMPONENT_VERSION= 2.2.13
31 COMPONENT_SUMMARY= Mutt is a small but very powerful text-based mail client for Unix operating systems.
32 COMPONENT_PROJECT_URL= http://www.mutt.org/
33 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
34 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
35 COMPONENT_ARCHIVE_HASH= sha256:eb23faddc1cc97d867693f3a4a9f30949ad93765ad5b6fdae2797a4001c58efb
36 COMPONENT_ARCHIVE_URL= http://ftp.mutt.org/pub/mutt/$(COMPONENT_ARCHIVE)
37 COMPONENT_FMRI= mail/$(COMPONENT_NAME)
38 COMPONENT_CLASSIFICATION= Applications/Internet
39 COMPONENT_LICENSE= GPLv2
40 COMPONENT_LICENSE_FILE= COPYRIGHT
42 TEST_TARGET= $(NO_TESTS)
43 include $(WS_MAKE_RULES)/common.mk
45 CFLAGS += -I$(USRINCDIR)/idn2
47 CONFIGURE_OPTIONS += LDFLAGS=-L$(OPENSSL_PREFIX)/lib/$(MACH64)
48 CONFIGURE_OPTIONS += CPPFLAGS=-I$(OPENSSL_PREFIX)/include
49 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
50 CONFIGURE_OPTIONS += --sysconfdir="$(ETCDIR)/$(COMPONENT_NAME)"
51 CONFIGURE_OPTIONS += --enable-pop
52 CONFIGURE_OPTIONS += --enable-imap
53 CONFIGURE_OPTIONS += --enable-smtp
54 CONFIGURE_OPTIONS += --enable-hcache
55 CONFIGURE_OPTIONS += --enable-sidebar
56 CONFIGURE_OPTIONS += --enable-debug
57 CONFIGURE_OPTIONS += --with-gdbm
58 CONFIGURE_OPTIONS += --with-regex
59 CONFIGURE_OPTIONS += --with-slang
60 CONFIGURE_OPTIONS += --with-ssl=$(OPENSSL_PREFIX)
61 CONFIGURE_OPTIONS += --with-idn2
62 CONFIGURE_OPTIONS += --with-wc-funcs
63 CONFIGURE_OPTIONS += --with-sasl
65 # Auto-generated dependencies
66 REQUIRED_PACKAGES += library/database/gdbm
67 REQUIRED_PACKAGES += library/libidn2
68 REQUIRED_PACKAGES += library/security/openssl-31
69 REQUIRED_PACKAGES += library/slang
70 REQUIRED_PACKAGES += library/zlib
71 REQUIRED_PACKAGES += runtime/perl
72 REQUIRED_PACKAGES += shell/ksh93
73 REQUIRED_PACKAGES += system/library
74 REQUIRED_PACKAGES += system/library/security/libsasl