Magellan Linux

Contents of /branches/magellan-next/extras/libsrtp/libsrtp-1.4.4-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8665 - (show annotations) (download)
Wed Jul 27 16:45:04 2011 UTC (12 years, 10 months ago) by niro
File size: 897 byte(s)
auto added: ver bump to 1.4.4-r4
1 # $Id$
2
3 PNAME="libsrtp"
4 PVER="1.4.4"
5 PBUILD="r4"
6
7 PCATEGORIE="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
19 SRC_URI=(
20 sourceforge://${PNAME/lib/}/${SRCFILE}
21 mirror://${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${PNAME}-${PVER}-shared.patch
23 )
24
25 UP2DATE="updatecmd_sourceforge ${PNAME/lib/}"
26
27 src_prepare()
28 {
29 munpack ${SRCFILE} || die
30 cd ${SRCDIR}
31
32 # build a shared lib
33 mpatch ${PNAME}-${PVER}-shared.patch || die
34 }
35
36 src_compile()
37 {
38 cd ${SRCDIR}
39
40 # stdout: default error output for messages in debug
41 # kernel-linux: breaks the build
42 # gdoi: disabled by upstream and breaks the build
43 mconfigure --enable-stdout --disable-kernel-linux --disable-gdoi --disable-debug || die
44 mmake || die
45 }