Andreas Wacknitz
2024-04-04 8590298b09ebad29af56370cd23105cd0931b389
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL)". You may
# only use this file in accordance with the terms of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
 
#
# Copyright 2023 Niklas Poslovski
#
 
BUILD_STYLE = meson
include ../../../make-rules/shared-macros.mk
 
COMPONENT_NAME=         coeurl
COMPONENT_VERSION=      0.3.0
COMPONENT_REVISION=        1
COMPONENT_SUMMARY=      A simple async wrapper around CURL for C++
COMPONENT_PROJECT_URL=  https://nheko.im/nheko-reborn/coeurl
COMPONENT_FMRI=         web/coeurl
COMPONENT_SRC=          $(COMPONENT_NAME)-v$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH= \
    sha256:48b07482364edcbed03e352f6b8b07e327c331eaa45707ad58e62930fa361382
COMPONENT_ARCHIVE_URL=    https://nheko.im/nheko-reborn/$(COMPONENT_NAME)/-/archive/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
COMPONENT_CLASSIFICATION=       System/Libraries
COMPONENT_LICENSE=      MIT
COMPONENT_LICENSE_FILE= LICENSE
 
# Tests need doctest which we don't have yet.
TEST_TARGET = $(NO_TESTS)
include $(WS_MAKE_RULES)/common.mk
 
# Auto-generated dependencies
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
REQUIRED_PACKAGES += library/c++/spdlog
REQUIRED_PACKAGES += library/libevent2
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += web/curl