2017-08-06 20:09:40 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2017/08/06 20:09:40 sthen Exp $
|
2015-10-10 12:33:16 +00:00
|
|
|
|
|
|
|
COMMENT= software G729A encoder and decoder library
|
|
|
|
|
2017-08-06 20:09:40 +00:00
|
|
|
DISTNAME= bcg729-1.0.2
|
2015-10-10 12:33:16 +00:00
|
|
|
|
2017-08-06 20:09:40 +00:00
|
|
|
SHARED_LIBS += bcg729 0.1 # unknown
|
2015-10-10 12:33:16 +00:00
|
|
|
|
|
|
|
CATEGORIES= telephony audio
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.linphone.org/technical-corner/bcg729/overview
|
|
|
|
|
|
|
|
# Dual: GPLv2(only) or commercial
|
|
|
|
PERMIT_PACKAGE_CDROM= patents
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= http://download-mirror.savannah.gnu.org/releases/linphone/plugins/sources/
|
|
|
|
|
2015-11-19 18:14:33 +00:00
|
|
|
BUILD_DEPENDS= net/ortp
|
|
|
|
|
2015-10-10 12:33:16 +00:00
|
|
|
CONFIGURE_STYLE= gnu
|
2015-11-19 18:14:33 +00:00
|
|
|
CONFIGURE_ARGS= --disable-msplugin
|
2015-10-10 12:33:16 +00:00
|
|
|
|
2015-10-10 13:00:04 +00:00
|
|
|
# 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
|
2015-10-10 12:33:16 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|