json-glib: update to 1.10.6
[oi-userland.git] / components / library / libesmtp / Makefile
blob39a13299862bcaf4737327f5b2cac61a2d3bf526
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 2023 Andreas Wacknitz
15 BUILD_BITS= 64
16 BUILD_STYLE= meson
17 OPENSSL_VERSION= 3.1
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= libesmtp
21 COMPONENT_VERSION= 1.1.0
22 COMPONENT_SUMMARY= libESMTP is a brary for posting electronic mail
23 COMPONENT_PROJECT_URL= https://libesmtp.github.io/
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
26 COMPONENT_ARCHIVE_HASH= sha256:32bc3614ca12d21c7d933f32d43410e8744b6f91fdca7732da9877a385e4e6c3
27 COMPONENT_ARCHIVE_URL= https://github.com/libesmtp/libESMTP/archive/refs/tags/v$(COMPONENT_VERSION).tar.gz
28 COMPONENT_FMRI= library/$(COMPONENT_NAME)
29 COMPONENT_CLASSIFICATION= Development/C
30 COMPONENT_LICENSE= LGPLv2.1
31 COMPONENT_LICENSE_FILE= LICENSE
33 TEST_TARGET= $(NO_TESTS)
34 include $(WS_MAKE_RULES)/common.mk
36 CFLAGS += $(XPG6MODE)
37 CFLAGS += -D_POSIX_PTHREAD_SEMANTICS
38 CFLAGS += -DNAME_MAX=255 -DHOST_NAME_MAX=255
39 LDFLAGS += -lnsl -lsocket
40 LDFLAGS += -L$(OPENSSL_LIBDIR) -R$(OPENSSL_LIBDIR)
42 COMPONENT_POST_UNPACK_ACTION= ( $(MV) libESMTP-$(COMPONENT_VERSION) $(COMPONENT_SRC) )
44 # Auto-generated dependencies
45 REQUIRED_PACKAGES += library/security/openssl-31
46 REQUIRED_PACKAGES += system/library