Long overdue, add iaxclient-tcl to RUN_DEPENDS. With this, Coccinella

can be used for XMPP p2p VoIP with other Coccinella clients, and as
a fully IAX2 client for an asterisk.
Suggestion to use the wrapper script instead of depending on threaded
TCL/Tk flavor from sthen@ (many thanks!)

OK sthen@
This commit is contained in:
sebastia 2011-07-20 16:43:18 +00:00
parent bcb516a133
commit 56e51ffb01
3 changed files with 14 additions and 7 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.10 2011/03/12 09:41:31 sebastia Exp $
# $OpenBSD: Makefile,v 1.11 2011/07/20 16:43:18 sebastia Exp $
SHARED_ONLY = Yes
COMMENT = XMPP client with whiteboard
REVISION = 1
REVISION = 2
DISTNAME = Coccinella-0.96.20Src
PKGNAME = ${DISTNAME:S/Src$//:L}
CATEGORIES = net
@ -21,9 +21,6 @@ PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=coccinella/}
MODULES = x11/tk
# No dependencies to sound and telephony yet, due to the reason those
# need to be ported to sndio first
RUN_DEPENDS = audio/snack \
devel/itcl \
graphics/tkpng \
@ -31,6 +28,7 @@ RUN_DEPENDS = audio/snack \
misc/memchan \
net/tcludp \
security/tcltls \
telephony/iaxclient,-tcl \
x11/tkdnd \
x11/tkhtml \
x11/tktray \
@ -56,7 +54,10 @@ do-install:
${INSTALL_DATA} pkgIndex.tcl ${PREFIX}/lib/coccinella
rm ${PREFIX}/lib/coccinella/lib/Init.tcl.* \
${PREFIX}/lib/coccinella/show_own_jid.patch
${INSTALL_SCRIPT} ${WRKSRC}/Coccinella.tcl ${PREFIX}/bin/coccinella
${INSTALL_SCRIPT} ${WRKSRC}/Coccinella.tcl ${PREFIX}/lib/coccinella
${SUBST_CMD} -c -o ${BINOWN} -g ${BINGRP} ${FILESDIR}/coccinella \
${PREFIX}/bin/coccinella
chmod 755 ${PREFIX}/bin/coccinella
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/coccinella
cd ${WRKSRC} && ${INSTALL_DATA} README.txt READMEs/README-xmpp \
READMEs/README-sounds \

View File

@ -0,0 +1,5 @@
#!/bin/ksh
# for VoIP we need to have threading
export LD_PRELOAD=libpthread.so
exec ${TRUEPREFIX}/lib/coccinella/Coccinella.tcl

View File

@ -1,6 +1,7 @@
@comment $OpenBSD: PLIST,v 1.4 2010/10/01 13:09:54 sebastia Exp $
@comment $OpenBSD: PLIST,v 1.5 2011/07/20 16:43:18 sebastia Exp $
bin/coccinella
lib/coccinella/
lib/coccinella/Coccinella.tcl
lib/coccinella/TclXML/
@comment lib/coccinella/TclXML/CHANGES
lib/coccinella/TclXML/pkgIndex.tcl