36 lines
1012 B
Makefile
Raw Normal View History

2017-08-06 20:09:40 +00:00
# $OpenBSD: Makefile,v 1.5 2017/08/06 20:09:40 sthen Exp $
COMMENT= software G729A encoder and decoder library
2017-08-06 20:09:40 +00:00
DISTNAME= bcg729-1.0.2
2017-08-06 20:09:40 +00:00
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_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
CONFIGURE_STYLE= gnu
2015-11-19 18:14:33 +00:00
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>