Magellan Linux

Annotation of /branches/R11-unstable/extras/libsrtp/libsrtp-1.4.4_git20130618-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25574 - (hide annotations) (download)
Tue Nov 25 03:58:28 2014 UTC (9 years, 5 months ago) by niro
File size: 868 byte(s)
-release branches/R11-unstable
1 niro 17480 # $Id$
2    
3     PNAME="libsrtp"
4     PVER="1.4.4_git20130618"
5     PBUILD="r1"
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=">= virtual/glibc"
13    
14 niro 17481 SRCFILE="${PNAME}-${PVER}.tar.bz2"
15 niro 17482 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16 niro 17480
17     sminclude mbuild
18     msetfeature "!check"
19    
20     SRC_URI=(
21     sourceforge://${PNAME/lib/}/${SRCFILE}
22     mirror://${PNAME}/${SRCFILE}
23     )
24    
25     UP2DATE="updatecmd_sourceforge ${PNAME/lib/}"
26    
27     src_prepare()
28     {
29     munpack ${SRCFILE} || die
30     cd ${SRCDIR}
31    
32     # generate configure
33     mautoreconf || 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     }