Magellan Linux

Contents of /trunk/extras/audiofile/audiofile-0.3.6-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30432 - (show annotations) (download)
Fri Jan 19 12:37:40 2018 UTC (6 years, 3 months ago) by niro
File size: 857 byte(s)
auto added: ver bump to 0.3.6-r3
1 # $Id$
2
3 PNAME="audiofile"
4 PVER="0.3.6"
5 PBUILD="r3"
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=">= sys-libs/libstdc++-5.3
13 >= media-libs/alsa-lib-1.1"
14
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude multilib mbuild
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 }