David Stes
2024-03-31 8cdd197ba643eb2608c5aab87567625bb9336cee
commit | author | age
769935 1 #
NP 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.
5 #
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.
9 #
10
11 #
12 # Copyright 2023 Niklas Poslovski
13 #
14
15 BUILD_STYLE = meson
16 include ../../../make-rules/shared-macros.mk
17
18 COMPONENT_NAME=         coeurl
19 COMPONENT_VERSION=      0.3.0
fbc092 20 COMPONENT_REVISION=        1
769935 21 COMPONENT_SUMMARY=      A simple async wrapper around CURL for C++
fbc092 22 COMPONENT_PROJECT_URL=  https://nheko.im/nheko-reborn/coeurl
769935 23 COMPONENT_FMRI=         web/coeurl
NP 24 COMPONENT_SRC=          $(COMPONENT_NAME)-v$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
26 COMPONENT_ARCHIVE_HASH= \
27     sha256:48b07482364edcbed03e352f6b8b07e327c331eaa45707ad58e62930fa361382
28 COMPONENT_ARCHIVE_URL=    https://nheko.im/nheko-reborn/$(COMPONENT_NAME)/-/archive/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
29 COMPONENT_CLASSIFICATION=       System/Libraries
30 COMPONENT_LICENSE=      MIT
31 COMPONENT_LICENSE_FILE= LICENSE
32
33 # Tests need doctest which we don't have yet.
34 TEST_TARGET = $(NO_TESTS)
35 include $(WS_MAKE_RULES)/common.mk
36
37 # Auto-generated dependencies
38 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
39 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
40 REQUIRED_PACKAGES += library/c++/spdlog
41 REQUIRED_PACKAGES += library/libevent2
42 REQUIRED_PACKAGES += system/library
43 REQUIRED_PACKAGES += web/curl