Magellan Linux

Contents of /branches/magellan-next/core/audiofile/audiofile-0.3.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9048 - (show annotations) (download)
Tue Oct 4 10:07:04 2011 UTC (12 years, 7 months ago) by niro
File size: 891 byte(s)
-fixed Werror and do not build any examples
1 # $Id$
2
3 PNAME="audiofile"
4 PVER="0.3.1"
5 PBUILD="r1"
6
7 PCATEGORIE="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
14 SRCFILE="${PNAME}-${PVER}.tar.gz"
15 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16
17 sminclude multilib
18
19 SRC_URI=(
20 http://www.68k.org/~michael/${PNAME}/${SRCFILE}
21 mirror://${PNAME}/${SRCFILE}
22 )
23
24 UP2DATE="updatecmd ${HOMEPAGE} | grep download | sed 's/.*version\ \(.*\).*/\1/'"
25
26 src_prepare()
27 {
28 munpack ${SRCFILE} || die
29
30 # disable werror
31 all-abis 'sed -i "/^AM_CFLAGS =/s:-Werror ::" libaudiofile/Makefile.am libaudiofile/modules/Makefile.am || die'
32 # don't build any examples
33 all-abis 'sed -i "/^SRC_SUBDIRS/s: examples::" Makefile.am || die'
34 }
35
36 src_compile()
37 {
38 mconfigure --enable-largefile --disable-static || die
39 mmake || die
40 }