Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 965 - (hide annotations) (download)
Sun Dec 28 23:01:51 2008 UTC (15 years, 5 months ago) by niro
File size: 1154 byte(s)
-rev bump to 0.2.6-r10
1 niro 965 # $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     cd ${SRCDIR}
40    
41     mconfigure --enable-largefile || die
42     mmake || die
43     }
44    
45     src_install()
46     {
47     cd ${SRCDIR}
48    
49     mmake DESTDIR=${BINDIR} install || die
50     minstalldocs ACKNOWLEDGEMENTS AUTHORS ChangeLog \
51     COPYING* NEWS NOTES README TODO || die
52     }

Properties

Name Value
svn:keywords Id