Magellan Linux

Annotation of /trunk/core/speex/speex-1.2_rc1-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3571 - (hide annotations) (download)
Mon Oct 26 15:22:17 2009 UTC (14 years, 11 months ago) by niro
File size: 1086 byte(s)
-fix libtool issues
1 niro 3570 # $Id$
2    
3     PNAME="speex"
4     PVER="1.2_rc1"
5     PBUILD="r2"
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 niro 3571
38     # fix libtool issues
39     mlibtoolize || die
40 niro 3570 }
41    
42     src_install()
43     {
44     mmake DESTDIR=${BINDIR} install || die
45    
46     # fix wrong doc location
47     rm -rf ${BINDIR}/usr/share/doc/* || die
48     minstalldocs AUTHORS COPYING ChangeLog NEWS README TODO doc/manual.pdf || die
49     }

Properties

Name Value
svn:keywords Id