summaryrefslogtreecommitdiff
path: root/net/libzrtpcpp/Makefile
blob: dfc80e8cede5c74d581bea259ee6e1dcc375b552 (plain)
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
# $NetBSD: Makefile,v 1.25 2019/04/03 00:32:59 ryoon Exp $

GITHUB_TAG=	V4.4.0
DISTNAME=	${GITHUB_TAG}
PKGNAME=	libzrtpcpp${DISTNAME:S/V/-/1}
PKGREVISION=	14
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_GITHUB:=wernerd/}
GITHUB_PROJECT=	ZRTPCPP
DIST_SUBDIR=	${PKGBASE}

MAINTAINER=	pkgsrc-users@NetBSD.org
#HOMEPAGE=	http://www.gnutelephony.org/index.php/GNU_ZRTP
COMMENT=	ZRTP extension for GNU ccRTP
LICENSE=	gnu-gpl-v3

WRKSRC=		${WRKDIR}/${GITHUB_PROJECT}-${PKGVERSION_NOREV}

USE_PKGLOCALEDIR=	yes
GCC_REQD+=		4.7
USE_TOOLS+=		pkg-config
USE_LIBTOOL=		yes
USE_LANGUAGES+=		c c++
USE_CMAKE=		yes
PKG_DESTDIR_SUPPORT=	destdir
CMAKE_ARGS+=		-DLIBDIRNAME=lib

.include "options.mk"

BUILDLINK_API_DEPENDS.openssl+=	openssl>=0.9.8
#BUILDLINK_DEPMETHOD.openssl=	build
.include "../../mk/pthread.buildlink3.mk"
.include "../../security/libgcrypt/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../net/ccrtp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"