Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 7 months ago) by niro
Original Path: trunk/extras/audiofile/audiofile-0.2.6-r9.smage2
File size: 1067 byte(s)
import repo
1 niro 2 # $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="r9"
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     src_prepare()
27     {
28     munpack ${SRCFILE} || die
29    
30     # fixes m4 warnings
31     mpatch ${PNAME}-${PVER}-m4-underquoted.patch || die
32     mpatch ${PNAME}-${PVER}-sfconvert-eradicator-2.patch || die
33     }
34    
35     src_compile()
36     {
37     cd ${SRCDIR}
38    
39     mconfigure --enable-largefile || die
40     mmake || die
41     }
42    
43     src_install()
44     {
45     cd ${SRCDIR}
46    
47     mmake DESTDIR=${BINDIR} install || die
48     minstalldocs ACKNOWLEDGEMENTS AUTHORS ChangeLog \
49     COPYING* NEWS NOTES README TODO || die
50     }

Properties

Name Value
svn:keywords Id