# $Id$ PNAME="libsrtp" PVER="1.4.4" PBUILD="r2" PCATEGORIE="net-libs" STATE="unstable" DESCRIPTION="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)" HOMEPAGE="http://srtp.sourceforge.net/srtp.html" DEPEND="" SRCFILE="${PNAME/lib/}-${PVER}.tgz" SRCDIR="${BUILDDIR}/${PNAME/lib/}" sminclude mbuild SRC_URI=( sourceforge://${PNAME/lib/}/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-shared.patch ) UP2DATE="updatecmd_sourceforge ${PNAME/lib/}" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # build a shared lib mpatch ${PNAME}-${PVER}-shared.patch || die } src_compile() { cd ${SRCDIR} # stdout: default error output for messages in debug # kernel-linux: breaks the build # gdoi: disabled by upstream and breaks the build mconfigure --enable-stdout --disable-kernel-linux --disable-gdoi --disable-debug || die mmake || die }