Annotation of /branches/R11-stable/extras/speex/speex-1.2_rc1-r4.smage2
Parent Directory | Revision Log
Revision 8175 -
(hide annotations)
(download)
Tue Jul 12 23:00:14 2011 UTC (13 years, 2 months ago) by niro
Original Path: branches/magellan-next/core/speex/speex-1.2_rc1-r4.smage2
File size: 1120 byte(s)
Tue Jul 12 23:00:14 2011 UTC (13 years, 2 months ago) by niro
Original Path: branches/magellan-next/core/speex/speex-1.2_rc1-r4.smage2
File size: 1120 byte(s)
-fix autoconf/automake issues
1 | niro | 8168 | # $Id$ |
2 | |||
3 | PNAME="speex" | ||
4 | PVER="1.2_rc1" | ||
5 | PBUILD="r4" | ||
6 | |||
7 | PCATEGORIE="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.2" | ||
14 | |||
15 | SRCFILE="${PNAME}-${PVER/_/}.tar.gz" | ||
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}" | ||
17 | |||
18 | sminclude mbuild multilib | ||
19 | |||
20 | SRC_URI=( | ||
21 | http://downloads.xiph.org/releases/${PNAME}/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | ) | ||
24 | |||
25 | UP2DATE="updatecmd 'http://downloads.xiph.org/releases/${PNAME}/?C=M;O=A' | lasttarball gz | sed 's:rc:_&:'" | ||
26 | |||
27 | src_prepare() | ||
28 | { | ||
29 | munpack ${SRCFILE} || die | ||
30 | |||
31 | # disable tests | ||
32 | all-abis "sed -i 's:noinst_PROGRAMS:check_PROGRAMS:' libspeex/Makefile.am" || die | ||
33 | |||
34 | # fix parallel make issues | ||
35 | niro | 8174 | export WANT_AUTOCONF=2.6 |
36 | niro | 8175 | export WANT_AUTOMAKE=1.10 |
37 | niro | 8168 | all-abis autoreconf --force --install --verbose || die |
38 | |||
39 | # fix libtool issues | ||
40 | mlibtoolize || die | ||
41 | } | ||
42 | |||
43 | src_install() | ||
44 | { | ||
45 | mmake DESTDIR=${BINDIR} install || die | ||
46 | |||
47 | # fix wrong doc location | ||
48 | rm -rf ${BINDIR}/usr/share/doc/* || die | ||
49 | minstalldocs AUTHORS COPYING ChangeLog NEWS README TODO doc/manual.pdf || die | ||
50 | } |