Annotation of /trunk/extras/speexdsp/speexdsp-1.2_rc3-r1.smage2
Parent Directory | Revision Log
Revision 23820 -
(hide annotations)
(download)
Thu Feb 5 08:59:15 2015 UTC (9 years, 7 months ago) by niro
File size: 881 byte(s)
Thu Feb 5 08:59:15 2015 UTC (9 years, 7 months ago) by niro
File size: 881 byte(s)
auto added: ver bump to 1.2_rc3-r1
1 | niro | 23820 | # $Id$ |
2 | |||
3 | PNAME="speexdsp" | ||
4 | PVER="1.2_rc3" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="media-libs" | ||
8 | |||
9 | DESCRIPTION="A voice compression format (DSP) for Speex." | ||
10 | HOMEPAGE="http://www.speex.org/" | ||
11 | |||
12 | DEPEND=">= virtual/glibc" | ||
13 | |||
14 | SRCFILE="${PNAME}-${PVER/_/}.tar.gz" | ||
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}" | ||
16 | |||
17 | sminclude mbuild mtools multilib | ||
18 | |||
19 | SRC_URI=( | ||
20 | http://downloads.xiph.org/releases/speex/${SRCFILE} | ||
21 | mirror://${PNAME}/${SRCFILE} | ||
22 | mirror://${PNAME}/${PNAME}-fixbuilds-774c87d.patch | ||
23 | ) | ||
24 | |||
25 | UP2DATE="updatecmd http://downloads.xiph.org/releases/speex | grep '${PNAME}-[0-9]' | highesttarball gz | sed 's:rc:_&:'" | ||
26 | |||
27 | src_prepare() | ||
28 | { | ||
29 | munpack ${SRCFILE} || die | ||
30 | |||
31 | # fix build | ||
32 | mpatch ${PNAME}-fixbuilds-774c87d.patch || die | ||
33 | } | ||
34 | |||
35 | src_install() | ||
36 | { | ||
37 | mmake DESTDIR=${BINDIR} install || die | ||
38 | |||
39 | # fix wrong doc location | ||
40 | mdelete -r /usr/share/doc || die | ||
41 | minstalldocs AUTHORS COPYING ChangeLog NEWS README TODO doc/manual.pdf || die | ||
42 | } |