Magellan Linux

Annotation of /branches/R11-stable/extras/speex/speex-1.2_rc2-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 24426 - (hide annotations) (download)
Fri Feb 20 10:22:50 2015 UTC (9 years, 2 months ago) by niro
File size: 1026 byte(s)
-release branches/R11-stable
1 niro 23821 # $Id$
2    
3     PNAME="speex"
4     PVER="1.2_rc2"
5     PBUILD="r2"
6    
7     PCAT="media-libs"
8    
9     DESCRIPTION="Speex is an Open Source/Free Software patent-free audio compression format designed for speech."
10     HOMEPAGE="http://www.speex.org/"
11    
12     DEPEND=">= virtual/glibc
13     >= media-libs/libogg-1.3
14     >= media-libs/speexdsp-1.2"
15    
16     SRCFILE="${PNAME}-${PVER/_/}.tar.gz"
17     SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}"
18    
19     sminclude mbuild mtools multilib
20    
21     SRC_URI=(
22     http://downloads.xiph.org/releases/${PNAME}/${SRCFILE}
23     mirror://${PNAME}/${SRCFILE}
24     )
25    
26     UP2DATE="updatecmd http://downloads.xiph.org/releases/${PNAME} | grep '${PNAME}-[0-9]' | highesttarball gz | sed 's:rc:_&:'"
27    
28     src_prepare()
29     {
30     munpack ${SRCFILE} || die
31    
32     # disable tests
33     all-abis "sed -i 's:noinst_PROGRAMS:check_PROGRAMS:' libspeex/Makefile.am" || die
34    
35     # fix parallel make issues
36     mautoreconf || die
37     }
38    
39     src_install()
40     {
41     mmake DESTDIR=${BINDIR} install || die
42    
43     # fix wrong doc location
44     mdelete -r /usr/share/doc || die
45     minstalldocs AUTHORS COPYING ChangeLog NEWS README TODO doc/manual.pdf || die
46     }