Magellan Linux

Contents of /trunk/core/speex/speex-1.2_rc1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1970 - (show annotations) (download)
Thu Jun 11 11:49:56 2009 UTC (14 years, 11 months ago) by niro
File size: 1043 byte(s)
-do not build tests, removed old sed line
1 # $Id$
2
3 PNAME="speex"
4 PVER="1.2_rc1"
5 PBUILD="r1"
6
7 PCATEGORIE="media-libs"
8 STATE="unstable"
9
10 DESCRIPTION="Speex is an Open Source/Free Software patent-free audio compression format designed for speech."
11 HOMEPAGE="http://www.speex.org/"
12
13 DEPEND=">= virtual/glibc
14 >= media-libs/libogg-1.1.2"
15
16 SRCFILE="${PNAME}-${PVER/_/}.tar.gz"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}"
18
19 sminclude mbuild 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}/?C=M;O=A' | lasttarball 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 all-abis autoreconf --force --install --verbose || die
37 }
38
39 src_install()
40 {
41 mmake DESTDIR=${BINDIR} install || die
42
43 # fix wrong doc location
44 rm -rf ${BINDIR}/usr/share/doc/* || die
45 minstalldocs AUTHORS COPYING ChangeLog NEWS README TODO doc/manual.pdf || die
46 }

Properties

Name Value
svn:keywords Id