Magellan Linux

Contents of /branches/magellan-next/core/audiofile/audiofile-0.2.7-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6595 - (show annotations) (download)
Mon Sep 6 18:04:20 2010 UTC (13 years, 8 months ago) by niro
File size: 1124 byte(s)
-fixed SRC_URI
1 # $Id: audiofile-0.2.6-r11.smage2 3430 2009-10-21 19:25:47Z niro $
2
3 PNAME="audiofile"
4 PVER="0.2.7"
5 PBUILD="r1"
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 http://www.68k.org/~michael/${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${PNAME}-0.2.6-sfconvert-eradicator-2.patch
24 mirror://${PNAME}/${PNAME}-0.2.6-m4-underquoted.patch
25 )
26
27 UP2DATE="updatecmd ${HOMEPAGE} | grep download | sed 's/.*version\ \(.*\).*/\1/'"
28
29 src_prepare()
30 {
31 munpack ${SRCFILE} || die
32
33 # fixes m4 warnings
34 mpatch ${PNAME}-0.2.6-m4-underquoted.patch || die
35 mpatch ${PNAME}-0.2.6-sfconvert-eradicator-2.patch || die
36 }
37
38 src_compile()
39 {
40 mconfigure --enable-largefile || die
41 mmake || die
42 }
43
44 src_install()
45 {
46 mmake DESTDIR=${BINDIR} install || die
47 minstalldocs ACKNOWLEDGEMENTS AUTHORS ChangeLog \
48 COPYING* NEWS NOTES README TODO || die
49 }