Makefile 1012 B

123456789101112131415161718192021222324252627282930313233343536
  1. # $OpenBSD: Makefile,v 1.4 2016/03/16 21:19:39 naddy Exp $
  2. COMMENT= software G729A encoder and decoder library
  3. DISTNAME= bcg729-1.0.1
  4. SHARED_LIBS += bcg729 0.0 # unknown
  5. CATEGORIES= telephony audio
  6. HOMEPAGE= http://www.linphone.org/technical-corner/bcg729/overview
  7. # Dual: GPLv2(only) or commercial
  8. PERMIT_PACKAGE_CDROM= patents
  9. PERMIT_PACKAGE_FTP= Yes
  10. MASTER_SITES= http://download-mirror.savannah.gnu.org/releases/linphone/plugins/sources/
  11. BUILD_DEPENDS= net/ortp
  12. CONFIGURE_STYLE= gnu
  13. CONFIGURE_ARGS= --disable-msplugin
  14. # Use bundled libtool for the tests only; otherwise they fail to link.
  15. TEST_FLAGS= LIBTOOL="/bin/sh ../../libtool"
  16. TEST_IS_INTERACTIVE= Yes
  17. pre-test:
  18. @if ! [ -d ${WRKSRC}/test/patterns ]; then echo; echo \
  19. ">>> Tests require an additional download. Please fetch"; echo \
  20. ">>> http://www.belledonne-communications.com/downloads/bcg729-patterns.zip"; echo \
  21. ">>> and unzip it in ${WRKSRC}/test"; \
  22. echo; exit 1; fi
  23. .include <bsd.port.mk>