# $Id$ PNAME="ortp" PVER="0.16.0" PBUILD="r1" PCATEGORIE="net-libs" STATE="unstable" DESCRIPTION="ortp, a Real-time Transport Protocol (RTP,RFC3550) library." HOMEPAGE="http://www.linphone.org/index.php/eng/code_review/ortp/" DEPEND=">= net-libs/libsrtp >= dev-libs/openssl-0.9.8" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( http://www.cypherpunks.ca/otr/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd 'http://mirrors.zerg.biz/nongnu/linphone/ortp/sources/?C=M;O=A' | grep ${PNAME}- | lasttarball gz" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # do not build docs sed -i 's:test $DOXYGEN != ::' configure || die # do not build examples sed -i 's:SUBDIRS = . tests:SUBDIRS = .:' src/Makefile.in || die } src_compile() { cd ${SRCDIR} mconfigure \ --docdir=/usr/share/doc/${PNAME}-${PVER} \ --disable-memcheck \ --disable-mode64bit \ --disable-strict \ --disable-dependency-tracking \ --disable-debug \ --enable-fast-install \ --enable-libtool-lock \ --enable-ipv6 \ || die mmake || die }