Magellan Linux

Annotation of /branches/R11-stable/extras/speex/speex-1.2_rc1-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8168 - (hide annotations) (download)
Tue Jul 12 22:27:03 2011 UTC (12 years, 11 months ago) by niro
Original Path: branches/magellan-next/core/speex/speex-1.2_rc1-r4.smage2
File size: 1067 byte(s)
auto added: ver bump to 1.2_rc1-r4
1 niro 8168 # $Id$
2    
3     PNAME="speex"
4     PVER="1.2_rc1"
5     PBUILD="r4"
6    
7     PCATEGORIE="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.2"
14    
15     SRCFILE="${PNAME}-${PVER/_/}.tar.gz"
16     SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}"
17    
18     sminclude mbuild multilib
19    
20     SRC_URI=(
21     http://downloads.xiph.org/releases/${PNAME}/${SRCFILE}
22     mirror://${PNAME}/${SRCFILE}
23     )
24    
25     UP2DATE="updatecmd 'http://downloads.xiph.org/releases/${PNAME}/?C=M;O=A' | lasttarball gz | sed 's:rc:_&:'"
26    
27     src_prepare()
28     {
29     munpack ${SRCFILE} || die
30    
31     # disable tests
32     all-abis "sed -i 's:noinst_PROGRAMS:check_PROGRAMS:' libspeex/Makefile.am" || die
33    
34     # fix parallel make issues
35     all-abis autoreconf --force --install --verbose || die
36    
37     # fix libtool issues
38     mlibtoolize || die
39     }
40    
41     src_install()
42     {
43     mmake DESTDIR=${BINDIR} install || die
44    
45     # fix wrong doc location
46     rm -rf ${BINDIR}/usr/share/doc/* || die
47     minstalldocs AUTHORS COPYING ChangeLog NEWS README TODO doc/manual.pdf || die
48     }