openbsd-ports/telephony/spandsp/Makefile
sthen 1059d440dc Import SpanDSP:
SpanDSP is a library of DSP functions for telephony, in the 8000 sample
per second world of E1s, T1s, and higher order PCM channels. It contains
low level functions, such as basic filters. It also contains higher
level functions, such as cadenced supervisory tone detection, and a
complete software FAX machine.  The software has been designed to avoid
intellectual property issues, using mature techniques where all relevant
patents have expired. See the file DueDiligence for important
information about these intellectual property issues.

from Brad; tested with his work-in-progress CallWeaver.
2008-04-29 11:55:18 +00:00

54 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2008/04/29 11:55:18 sthen Exp $
COMMENT= DSP library for telephony
DISTNAME= spandsp-0.0.4pre18
CATEGORIES= telephony
MASTER_SITES= ${HOMEPAGE}downloads/spandsp/
EXTRACT_SUFX= .tgz
SHARED_LIBS= spandsp 0.0
WRKDIST= ${WRKDIR}/spandsp-0.0.4
HOMEPAGE= http://www.soft-switch.org/
MAINTAINER= Brad Smith <brad@comstyle.com>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= jpeg m z
LIB_DEPENDS+= tiff::graphics/tiff
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.if ${MACHINE_ARCH} == "i386"
CONFIGURE_ARGS+= --enable-mmx
.endif
.if ${MACHINE_ARCH} == "amd64"
CONFIGURE_ARGS+= --enable-sse
.endif"
# Test suite included, but requires many build dependencies
# and proprietary files from standards bodies.
NO_REGRESS= Yes
DOCS= README DueDiligence
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/spandsp
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/spandsp
.endfor
.include <bsd.port.mk>