Magellan Linux

Annotation of /branches/magellan-next/extras/libsrtp/libsrtp-1.4.4-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7065 - (hide annotations) (download)
Tue Sep 28 17:59:23 2010 UTC (13 years, 8 months ago) by niro
File size: 971 byte(s)
auto added: ver bump to 1.4.4-r3
1 niro 7065 # $Id: libsrtp-1.4.4-r2.smage2 3929 2009-11-14 10:23:57Z niro $
2    
3     PNAME="libsrtp"
4     PVER="1.4.4"
5     PBUILD="r3"
6    
7     PCATEGORIE="net-libs"
8     STATE="unstable"
9    
10     DESCRIPTION="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)"
11     HOMEPAGE="http://srtp.sourceforge.net/srtp.html"
12    
13     DEPEND=""
14    
15     SRCFILE="${PNAME/lib/}-${PVER}.tgz"
16     SRCDIR="${BUILDDIR}/${PNAME/lib/}"
17    
18     sminclude mbuild
19    
20     SRC_URI=(
21     sourceforge://${PNAME/lib/}/${SRCFILE}
22     mirror://${PNAME}/${SRCFILE}
23     mirror://${PNAME}/${PNAME}-${PVER}-shared.patch
24     )
25    
26     UP2DATE="updatecmd_sourceforge ${PNAME/lib/}"
27    
28     src_prepare()
29     {
30     munpack ${SRCFILE} || die
31     cd ${SRCDIR}
32    
33     # build a shared lib
34     mpatch ${PNAME}-${PVER}-shared.patch || die
35     }
36    
37     src_compile()
38     {
39     cd ${SRCDIR}
40    
41     # stdout: default error output for messages in debug
42     # kernel-linux: breaks the build
43     # gdoi: disabled by upstream and breaks the build
44     mconfigure --enable-stdout --disable-kernel-linux --disable-gdoi --disable-debug || die
45     mmake || die
46     }