Contents of /branches/magellan-next/core/audiofile/audiofile-0.3.2-r2.smage2
Parent Directory | Revision Log
Revision 9782 -
(show annotations)
(download)
Wed Jan 11 14:43:49 2012 UTC (12 years, 8 months ago) by niro
File size: 945 byte(s)
Wed Jan 11 14:43:49 2012 UTC (12 years, 8 months ago) by niro
File size: 945 byte(s)
-fixed build
1 | # $Id$ |
2 | |
3 | PNAME="audiofile" |
4 | PVER="0.3.2" |
5 | PBUILD="r2" |
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 | >= sys-libs/libstdc++-4.6" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | sminclude multilib |
19 | |
20 | SRC_URI=( |
21 | http://www.68k.org/~michael/${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/${PNAME}-${PVER}-lm.patch |
24 | ) |
25 | |
26 | UP2DATE="updatecmd ${HOMEPAGE} | grep download | sed 's/.*version\ \(.*\).*/\1/'" |
27 | |
28 | src_prepare() |
29 | { |
30 | munpack ${SRCFILE} || die |
31 | |
32 | # explicitely link against libm |
33 | mpatch ${PNAME}-${PVER}-lm.patch || die |
34 | |
35 | # don't build any examples |
36 | all-abis 'sed -i "/^SRC_SUBDIRS/s: examples::" Makefile.am || die' |
37 | |
38 | mautoreconf || die |
39 | } |
40 | |
41 | src_compile() |
42 | { |
43 | mconfigure --enable-largefile --disable-static --disable-werror || die |
44 | mmake || die |
45 | } |