Magellan Linux

Annotation of /branches/magellan-next/core/speex/speex-1.2_rc1-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7067 - (hide annotations) (download)
Tue Sep 28 18:01:13 2010 UTC (13 years, 8 months ago) by niro
File size: 1141 byte(s)
auto added: ver bump to 1.2_rc1-r3
1 niro 7067 # $Id: speex-1.2_rc1-r2.smage2 3571 2009-10-26 15:22:17Z niro $
2    
3     PNAME="speex"
4     PVER="1.2_rc1"
5     PBUILD="r3"
6    
7     PCATEGORIE="media-libs"
8     STATE="unstable"
9    
10     DESCRIPTION="Speex is an Open Source/Free Software patent-free audio compression format designed for speech."
11     HOMEPAGE="http://www.speex.org/"
12    
13     DEPEND=">= virtual/glibc
14     >= media-libs/libogg-1.2"
15    
16     SRCFILE="${PNAME}-${PVER/_/}.tar.gz"
17     SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}"
18    
19     sminclude mbuild 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}/?C=M;O=A' | lasttarball 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     all-abis autoreconf --force --install --verbose || die
37    
38     # fix libtool issues
39     mlibtoolize || die
40     }
41    
42     src_install()
43     {
44     mmake DESTDIR=${BINDIR} install || die
45    
46     # fix wrong doc location
47     rm -rf ${BINDIR}/usr/share/doc/* || die
48     minstalldocs AUTHORS COPYING ChangeLog NEWS README TODO doc/manual.pdf || die
49     }