Annotation of /trunk/extras/speex/speex-1.2.0-r1.smage2
Parent Directory | Revision Log
Revision 28540 -
(hide annotations)
(download)
Wed Dec 28 12:06:14 2016 UTC (7 years, 9 months ago) by niro
File size: 1024 byte(s)
Wed Dec 28 12:06:14 2016 UTC (7 years, 9 months ago) by niro
File size: 1024 byte(s)
auto added: ver bump to 1.2.0-r1
1 | niro | 28540 | # $Id$ |
2 | |||
3 | PNAME="speex" | ||
4 | PVER="1.2.0" | ||
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 | >= 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 | } |