# $Id$ PNAME="libsrtp" PVER="1.4.4_git20130618" PBUILD="r1" PCAT="net-libs" DESCRIPTION="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)" HOMEPAGE="http://srtp.sourceforge.net/srtp.html" DEPEND=">= virtual/glibc" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild msetfeature "!check" SRC_URI=( sourceforge://${PNAME/lib/}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd_sourceforge ${PNAME/lib/}" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # generate configure mautoreconf || 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 }