d9f76e5f7d
breakage reported by jasper@, no cookie for me
66 lines
1.5 KiB
Makefile
66 lines
1.5 KiB
Makefile
# $OpenBSD: Makefile,v 1.23 2009/04/16 14:43:36 ajacoutot Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= H.323 video conferencing library
|
|
|
|
V= 1_19_0_1
|
|
DISTNAME= openh323-v${V}
|
|
PKGNAME= openh323-${V:S/_/./g}p5
|
|
CATEGORIES= net devel
|
|
|
|
EXTRACT_SUFX= -src-tar.gz
|
|
|
|
SHARED_LIBS= h323 2.0 # 1.19
|
|
|
|
HOMEPAGE= http://openh323.sourceforge.net/
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# MPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openh323/}
|
|
|
|
WANTLIB= SDL crypto expat lber ldap ldap_r sasl2 ssl
|
|
|
|
LIB_DEPENDS= pt.>=2::devel/pwlib \
|
|
speex.>=4::audio/speex \
|
|
avutil.>=2::graphics/ffmpeg \
|
|
gsm.>=1::audio/gsm
|
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME:S/-/_/}
|
|
|
|
USE_GMAKE= Yes
|
|
ALL_TARGET= optshared
|
|
NO_REGRESS= Yes
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -pthread -lavutil"
|
|
CONFIGURE_ARGS= --enable-h263avcodec \
|
|
--disable-localspeex \
|
|
--disable-vich263
|
|
|
|
MAKE_ENV+= STDCCFLAGS="-I${WRKSRC}/include \
|
|
-I${LOCALBASE}/include/libavcodec" \
|
|
CC=${CC} CPLUS=${CXX} BUILDSELF="1"
|
|
MAKE_FLAGS= LIB_MAJOR_VERSION=${LIBh323_VERSION:R} \
|
|
LIB_MINOR_VERSION=${LIBh323_VERSION:E}
|
|
|
|
do-extract:
|
|
@tar xzf ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX} -C ${WRKDIR}
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/plugins/audio/GSM0610/Makefile.in \
|
|
${WRKSRC}/plugins/audio/Speex/Makefile.in \
|
|
${WRKSRC}/openh323u.mak.in
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/version.h ${PREFIX}/share/openh323
|
|
|
|
.include <bsd.port.mk>
|