openbsd-ports/devel/coeurl/Makefile

27 lines
511 B
Makefile

COMMENT = simple async wrapper around CURL for C++
CATEGORIES = devel
V = v0.2.1
DISTNAME = coeurl-${V}
PKGNAME = ${DISTNAME:S/v//}
SHARED_LIBS += coeurl 0.1 # 0.2.0
MASTER_SITES = https://nheko.im/nheko-reborn/coeurl/-/archive/${V}/
# MIT
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} curl event_core event_pthreads m
MODULES = devel/meson
# C++17
COMPILER = base-clang ports-gcc
BUILD_DEPENDS = devel/spdlog
LIB_DEPENDS = devel/libevent2 \
net/curl
.include <bsd.port.mk>