Magellan Linux

Contents of /branches/magellan-next/core/audiofile/audiofile-0.2.6-r11.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6574 - (show annotations) (download)
Mon Sep 6 17:06:20 2010 UTC (13 years, 8 months ago) by niro
File size: 1027 byte(s)
imported from trunk
1 # $Id$
2
3 PNAME="audiofile"
4 PVER="0.2.6"
5 PBUILD="r11"
6
7 PCATEGORIE="media-libs"
8 STATE="unstable"
9
10 DESCRIPTION="The Audio File Library provides a uniform API for accessing a variety of audio file formats."
11 HOMEPAGE="http://www.68k.org/~michael/audiofile/"
12
13 DEPEND=">= virtual/glibc"
14
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude multilib
19
20 SRC_URI=(
21 mirror://${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${PNAME}-${PVER}-sfconvert-eradicator-2.patch
23 mirror://${PNAME}/${PNAME}-${PVER}-m4-underquoted.patch
24 )
25
26 UP2DATE="updatecmd ${HOMEPAGE} | grep Download | sed 's/.*version\ \(.*\)\ o.*/\1/'"
27
28 src_prepare()
29 {
30 munpack ${SRCFILE} || die
31
32 # fixes m4 warnings
33 mpatch ${PNAME}-${PVER}-m4-underquoted.patch || die
34 mpatch ${PNAME}-${PVER}-sfconvert-eradicator-2.patch || die
35 }
36
37 src_compile()
38 {
39 mconfigure --enable-largefile || die
40 mmake || die
41 }
42
43 src_install()
44 {
45 mmake DESTDIR=${BINDIR} install || die
46 minstalldocs ACKNOWLEDGEMENTS AUTHORS ChangeLog \
47 COPYING* NEWS NOTES README TODO || die
48 }

Properties

Name Value
svn:keywords Id