Magellan Linux

Contents of /branches/magellan-next/extras/ortp/ortp-0.16.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7073 - (show annotations) (download)
Tue Sep 28 18:21:58 2010 UTC (13 years, 8 months ago) by niro
File size: 1195 byte(s)
auto added: ver bump to 0.16.3-r1
1 # $Id: ortp-0.16.1-r1.smage2 3930 2009-11-14 10:24:36Z niro $
2
3 PNAME="ortp"
4 PVER="0.16.3"
5 PBUILD="r1"
6
7 PCATEGORIE="net-libs"
8 STATE="unstable"
9
10 DESCRIPTION="ortp, a Real-time Transport Protocol (RTP,RFC3550) library."
11 HOMEPAGE="http://www.linphone.org/index.php/eng/code_review/ortp/"
12
13 DEPEND=">= net-libs/libsrtp-1.4
14 >= dev-libs/openssl-1.0.0"
15
16 SRCFILE="${PNAME}-${PVER}.tar.gz"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18
19 sminclude mbuild
20
21 SRC_URI=(
22 http://mirrors.zerg.biz/nongnu/linphone/ortp/sources/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 )
25
26 UP2DATE="updatecmd 'http://mirrors.zerg.biz/nongnu/linphone/ortp/sources/?C=M;O=A' | grep ${PNAME}- | lasttarball gz"
27
28 src_prepare()
29 {
30 munpack ${SRCFILE} || die
31 cd ${SRCDIR}
32
33 # do not build docs
34 sed -i 's:test $DOXYGEN != ::' configure || die
35
36 # do not build examples
37 sed -i 's:SUBDIRS = . tests:SUBDIRS = .:' src/Makefile.in || die
38 }
39
40 src_compile()
41 {
42 cd ${SRCDIR}
43
44 mconfigure \
45 --docdir=/usr/share/doc/${PNAME}-${PVER} \
46 --disable-memcheck \
47 --disable-mode64bit \
48 --disable-strict \
49 --disable-dependency-tracking \
50 --disable-debug \
51 --enable-fast-install \
52 --enable-libtool-lock \
53 --enable-ipv6 \
54 || die
55
56 mmake || die
57 }