35 lines
978 B
Makefile
35 lines
978 B
Makefile
# $OpenBSD: Makefile,v 1.6 2019/07/14 00:39:40 naddy Exp $
|
|
|
|
COMMENT= software G729A encoder and decoder library
|
|
|
|
DISTNAME= bcg729-1.0.2
|
|
|
|
SHARED_LIBS += bcg729 0.1 # unknown
|
|
|
|
CATEGORIES= telephony audio
|
|
|
|
HOMEPAGE= http://www.linphone.org/technical-corner/bcg729/overview
|
|
|
|
# Dual: GPLv2(only) or commercial
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MASTER_SITES= http://download-mirror.savannah.gnu.org/releases/linphone/plugins/sources/
|
|
|
|
BUILD_DEPENDS= net/ortp
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= --disable-msplugin
|
|
|
|
# Use bundled libtool for the tests only; otherwise they fail to link.
|
|
TEST_FLAGS= LIBTOOL="/bin/sh ../../libtool"
|
|
TEST_IS_INTERACTIVE= Yes
|
|
|
|
pre-test:
|
|
@if ! [ -d ${WRKSRC}/test/patterns ]; then echo; echo \
|
|
">>> Tests require an additional download. Please fetch"; echo \
|
|
">>> http://www.belledonne-communications.com/downloads/bcg729-patterns.zip"; echo \
|
|
">>> and unzip it in ${WRKSRC}/test"; \
|
|
echo; exit 1; fi
|
|
|
|
.include <bsd.port.mk>
|