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 Niklas Poslovski
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= coeurl
19 COMPONENT_VERSION
= 0.3.1
20 COMPONENT_SUMMARY
= A simple async wrapper around CURL for C
++
21 COMPONENT_PROJECT_URL
= https
://nheko.im
/nheko-reborn
/coeurl
22 COMPONENT_FMRI
= web
/coeurl
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-v
$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
25 COMPONENT_ARCHIVE_HASH
= sha256
:6203654c2eec7a286388a6cfa8d8ea5698c57b7b8be235b2cc165f0b4c7bee0b
26 COMPONENT_ARCHIVE_URL
= https
://nheko.im
/nheko-reborn
/$(COMPONENT_NAME
)/-/archive
/v
$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
27 COMPONENT_CLASSIFICATION
= System
/Libraries
28 COMPONENT_LICENSE
= MIT
29 COMPONENT_LICENSE_FILE
= LICENSE
31 # Tests need doctest which we don't have yet.
32 TEST_TARGET
= $(NO_TESTS
)
33 include $(WS_MAKE_RULES
)/common.mk
35 # Auto-generated dependencies
36 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
37 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
38 REQUIRED_PACKAGES
+= library
/c
++/spdlog
39 REQUIRED_PACKAGES
+= library
/libevent2
40 REQUIRED_PACKAGES
+= system
/library
41 REQUIRED_PACKAGES
+= web
/curl