Contents of /branches/R11-stable/extras/audiofile/audiofile-0.3.5-r1.smage2
Parent Directory | Revision Log
Revision 16543 -
(show annotations)
(download)
Tue Feb 12 13:26:54 2013 UTC (11 years, 3 months ago) by niro
Original Path: trunk/extras/audiofile/audiofile-0.3.5-r1.smage2
File size: 819 byte(s)
Tue Feb 12 13:26:54 2013 UTC (11 years, 3 months ago) by niro
Original Path: trunk/extras/audiofile/audiofile-0.3.5-r1.smage2
File size: 819 byte(s)
auto added: ver bump to 0.3.5-r1
1 | # $Id$ |
2 | |
3 | PNAME="audiofile" |
4 | PVER="0.3.5" |
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 | |
20 | SRC_URI=( |
21 | http://www.68k.org/~michael/${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | UP2DATE="updatecmd ${HOMEPAGE} | grep download | sed 's/.*version\ \(.*\).*/\1/'" |
26 | |
27 | src_prepare() |
28 | { |
29 | munpack ${SRCFILE} || die |
30 | |
31 | # don't build any examples |
32 | all-abis 'sed -i "/^SRC_SUBDIRS/s: examples::" Makefile.am || die' |
33 | |
34 | mautoreconf || die |
35 | } |
36 | |
37 | src_compile() |
38 | { |
39 | mconfigure --enable-largefile --disable-static --disable-werror || die |
40 | mmake || die |
41 | } |