Magellan Linux

Contents of /trunk/extras/speexdsp/speexdsp-1.2.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 33222 - (show annotations) (download)
Sat Oct 19 13:33:47 2019 UTC (4 years, 6 months ago) by niro
File size: 879 byte(s)
auto added: ver bump to 1.2.0-r1
1 # $Id$
2
3 PNAME="speexdsp"
4 PVER="1.2.0"
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 mtools multilib mbuild
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 }