Magellan Linux

Contents of /trunk/core/audiofile/audiofile-0.2.6-r10.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 968 - (show annotations) (download)
Sun Dec 28 23:03:50 2008 UTC (15 years, 4 months ago) by niro
File size: 1124 byte(s)
-multilib - 'cd ${SRCDIR}' not needed
1 # $Header: /magellan-cvs/smage/audiofile/audiofile-0.2.6-r9.smage2,v 1.1 2008/02/12 08:00:04 niro Exp $
2
3 PNAME="audiofile"
4 PVER="0.2.6"
5 PBUILD="r10"
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