1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/net/libsrtp2/Makefile
2023-02-03 15:01:56 +01:00

36 lines
765 B
Makefile

PORTNAME= libsrtp
DISTVERSIONPREFIX= v
DISTVERSION= 2.5.0
CATEGORIES= net
PKGNAMESUFFIX= 2
MAINTAINER= tijl@FreeBSD.org
COMMENT= Secure RTP (SRTP) Reference Implementation
WWW= https://github.com/cisco/libsrtp
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= cisco
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-openssl \
crypto_CFLAGS="-I${OPENSSLINC}" \
crypto_LIBS="${OPENSSLLIB}/libcrypto.so"
USES= cpe gmake pkgconfig ssl
CPE_VENDOR= cisco
USE_LDCONFIG= yes
ALL_TARGET= all shared_library
TEST_TARGET= runtest
TEST_ENV= LD_LIBRARY_PATH=${WRKSRC}
post-patch:
@${REINPLACE_CMD} '/supported_cflags=.*-fPIC/d' ${WRKSRC}/configure
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsrtp2.so.1
.include <bsd.port.mk>