Contents of /branches/R11-stable/extras/speexdsp/speexdsp-1.2_rc3-r1.smage2
Parent Directory | Revision Log
Revision 24425 -
(show annotations)
(download)
Fri Feb 20 10:22:46 2015 UTC (9 years, 7 months ago) by niro
File size: 881 byte(s)
Fri Feb 20 10:22:46 2015 UTC (9 years, 7 months ago) by niro
File size: 881 byte(s)
-release branches/R11-stable
1 | # $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 | } |