Magellan Linux

Annotation of /branches/R11-stable/extras/audiofile/audiofile-0.3.6-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17904 - (hide annotations) (download)
Thu Jun 27 06:26:48 2013 UTC (10 years, 10 months ago) by niro
File size: 840 byte(s)
-release branches/R11-stable
1 niro 16793 # $Id$
2    
3     PNAME="audiofile"
4     PVER="0.3.6"
5     PBUILD="r1"
6    
7     PCAT="media-libs"
8    
9     DESCRIPTION="The Audio File Library provides a uniform API for accessing a variety of audio file formats."
10     HOMEPAGE="http://www.68k.org/~michael/audiofile/"
11    
12     DEPEND=">= virtual/glibc
13     >= sys-libs/libstdc++-4.6"
14    
15     SRCFILE="${PNAME}-${PVER}.tar.gz"
16     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17    
18     sminclude multilib
19     msetfeature "!check"
20    
21     SRC_URI=(
22     http://www.68k.org/~michael/${PNAME}/${SRCFILE}
23     mirror://${PNAME}/${SRCFILE}
24     )
25    
26     UP2DATE="updatecmd ${HOMEPAGE} | grep download | sed 's/.*version\ \(.*\).*/\1/'"
27    
28     src_prepare()
29     {
30     munpack ${SRCFILE} || die
31    
32     # don't build any examples
33     all-abis 'sed -i "/^SRC_SUBDIRS/s: examples::" Makefile.am || die'
34    
35     mautoreconf || die
36     }
37    
38     src_compile()
39     {
40     mconfigure --enable-largefile --disable-static --disable-werror || die
41     mmake || die
42     }