Magellan Linux

Contents of /branches/R11-stable/extras/libsrtp/libsrtp-1.4.4-r6.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15243 - (show annotations) (download)
Wed Jan 2 11:01:19 2013 UTC (11 years, 5 months ago) by niro
File size: 916 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="libsrtp"
4 PVER="1.4.4"
5 PBUILD="r6"
6
7 PCAT="net-libs"
8
9 DESCRIPTION="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)"
10 HOMEPAGE="http://srtp.sourceforge.net/srtp.html"
11
12 DEPEND=""
13
14 SRCFILE="${PNAME/lib/}-${PVER}.tgz"
15 SRCDIR="${BUILDDIR}/${PNAME/lib/}"
16
17 sminclude mbuild
18 msetfeature "!check"
19
20 SRC_URI=(
21 sourceforge://${PNAME/lib/}/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${PNAME}-${PVER}-shared-2.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-2.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 }