Contents of /trunk/extras/libsrtp/libsrtp-1.4.4-r5.smage2
Parent Directory | Revision Log
Revision 12453 -
(show annotations)
(download)
Tue May 22 12:31:41 2012 UTC (12 years ago) by niro
File size: 912 byte(s)
Tue May 22 12:31:41 2012 UTC (12 years ago) by niro
File size: 912 byte(s)
-no check target in Makefile
1 | # $Id$ |
2 | |
3 | PNAME="libsrtp" |
4 | PVER="1.4.4" |
5 | PBUILD="r5" |
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.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 | } |