Magellan Linux

Annotation of /trunk/extras/ortp/ortp-0.24.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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