41 lines
848 B
Makefile
41 lines
848 B
Makefile
# $OpenBSD: Makefile,v 1.18 2019/07/12 20:49:56 sthen Exp $
|
|
|
|
COMMENT= DSP library for telephony
|
|
|
|
DISTNAME= spandsp-0.0.6
|
|
CATEGORIES= telephony
|
|
MASTER_SITES= ${HOMEPAGE}downloads/spandsp/
|
|
|
|
SHARED_LIBS= spandsp 7.0
|
|
|
|
HOMEPAGE= http://www.soft-switch.org/
|
|
|
|
MAINTAINER= Brad Smith <brad@comstyle.com>
|
|
|
|
# LGPLv2/GPLv2
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB= c jpeg m tiff z
|
|
|
|
WRKDIST= ${WRKDIR}/spandsp-0.0.6
|
|
|
|
LIB_DEPENDS+= graphics/tiff
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
# Test suite included, but requires many build dependencies
|
|
# and proprietary files from standards bodies.
|
|
NO_TEST= 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>
|