Contents of /branches/magellan-next/core/audiofile/audiofile-0.3.2-r1.smage2
Parent Directory | Revision Log
Revision 9568 -
(show annotations)
(download)
Mon Dec 12 16:21:54 2011 UTC (12 years, 9 months ago) by niro
File size: 891 byte(s)
Mon Dec 12 16:21:54 2011 UTC (12 years, 9 months ago) by niro
File size: 891 byte(s)
auto added: ver bump to 0.3.2-r1
1 | # $Id$ |
2 | |
3 | PNAME="audiofile" |
4 | PVER="0.3.2" |
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 | } |