Magellan Linux

Contents of /smage/branches/alx07x-unstable/extras/audiofile/audiofile-0.3.6-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7481 - (show annotations) (download)
Mon Sep 21 08:57:37 2015 UTC (8 years, 7 months ago) by niro
File size: 840 byte(s)
-release branches/alx07x-unstable
1 # $Id$
2
3 PNAME="audiofile"
4 PVER="0.3.6"
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 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 }