60 lines
1.4 KiB
Makefile
60 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.18 2013/03/11 11:35:47 espie Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= H.323 video conferencing library
|
|
|
|
V= 1_25_0
|
|
DISTNAME= h323plus-v${V}
|
|
PKGNAME= h323plus-${V:S/_/./g}
|
|
CATEGORIES= net devel
|
|
|
|
SHARED_LIBS= h323 4.1 # 1.25.0
|
|
|
|
HOMEPAGE= http://www.h323plus.org/
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# MPL (dlopen(3) GPL modules)
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += SDL c crypto expat lber ldap ldap_r m pt pthread ssl
|
|
WANTLIB += stdc++
|
|
|
|
MASTER_SITES= ${HOMEPAGE}source/download/
|
|
|
|
LIB_DEPENDS= devel/ptlib>=2.10.0
|
|
|
|
WRKDIST= ${WRKDIR}/h323plus
|
|
|
|
USE_GMAKE= Yes
|
|
ALL_TARGET= default
|
|
NO_TEST= Yes
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
# http://www.tandberg.com/collateral/tandberg-ITU-license.pdf
|
|
CONFIGURE_ARGS += --disable-h46018
|
|
|
|
# H.460.23/.24. Contact consulting@h323plus.org for licensing terms.
|
|
CONFIGURE_ARGS += --disable-h46023
|
|
|
|
# XXX celtcodec.c:55: error: too many arguments to function 'celt_mode_create'
|
|
CONFIGURE_ARGS += --disable-celt
|
|
|
|
MAKE_ENV= CC=${CC} CPLUS=${CXX} OH323_BUILDSELF="1" VERBOSE="1"
|
|
|
|
MAKE_FLAGS= MAJOR_VERSION=${LIBh323_VERSION:R} \
|
|
MINOR_VERSION=${LIBh323_VERSION:E}
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/Makefile.in \
|
|
${WRKSRC}/openh323u.mak.in
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/version.h ${PREFIX}/share/openh323
|
|
|
|
.include <bsd.port.mk>
|