Magellan Linux

Contents of /trunk/extras/speex/speex-1.2_rc3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 23545 - (show annotations) (download)
Thu Jan 15 10:22:32 2015 UTC (9 years, 5 months ago) by niro
File size: 1070 byte(s)
auto added: ver bump to 1.2_rc3-r1
1 # $Id$
2
3 PNAME="speex"
4 PVER="1.2_rc3"
5 PBUILD="r1"
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
15 SRCFILE="${PNAME}-${PVER/_/}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}"
17
18 sminclude mbuild mtools 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} | highesttarball 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 export WANT_AUTOCONF=2.6
36 export WANT_AUTOMAKE=1.10
37 mautoreconf || die
38
39 # fix libtool issues
40 mlibtoolize || die
41 }
42
43 src_install()
44 {
45 mmake DESTDIR=${BINDIR} install || die
46
47 # fix wrong doc location
48 mdelete -r /usr/share/doc || die
49 minstalldocs AUTHORS COPYING ChangeLog NEWS README TODO doc/manual.pdf || die
50 }