2010-07-27 05:27:23 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2010/07/27 09:27:24 dcoppa Exp $
|
2008-04-29 07:55:18 -04:00
|
|
|
|
|
|
|
COMMENT= DSP library for telephony
|
|
|
|
|
2009-06-13 03:55:35 -04:00
|
|
|
DISTNAME= spandsp-0.0.6pre12
|
2008-04-29 07:55:18 -04:00
|
|
|
CATEGORIES= telephony
|
|
|
|
MASTER_SITES= ${HOMEPAGE}downloads/spandsp/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2009-05-06 11:48:26 -04:00
|
|
|
SHARED_LIBS= spandsp 5.0
|
2008-04-29 07:55:18 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.soft-switch.org/
|
|
|
|
|
|
|
|
MAINTAINER= Brad Smith <brad@comstyle.com>
|
|
|
|
|
2008-05-27 16:46:54 -04:00
|
|
|
# LGPLv2/GPLv2
|
2008-04-29 07:55:18 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2010-07-27 05:27:23 -04:00
|
|
|
|
|
|
|
WANTLIB= jpeg m tiff z
|
2008-04-29 07:55:18 -04:00
|
|
|
|
2009-03-06 12:02:15 -05:00
|
|
|
WRKDIST= ${WRKDIR}/spandsp-0.0.6
|
|
|
|
|
2010-07-27 05:27:23 -04:00
|
|
|
LIB_DEPENDS+= ::graphics/tiff
|
2008-04-29 07:55:18 -04:00
|
|
|
|
|
|
|
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"
|
2009-03-06 12:02:15 -05:00
|
|
|
CONFIGURE_ARGS+= --enable-sse --enable-sse2
|
2008-04-29 07:55:18 -04:00
|
|
|
.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>
|