Magellan Linux

Annotation of /trunk/core/libofa/libofa-0.9.3-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1608 - (hide annotations) (download)
Tue May 12 16:01:27 2009 UTC (15 years ago) by niro
File size: 1036 byte(s)
-added gcc-4.3 compilation fix
1 niro 1607 # $Id$
2    
3     PNAME="libofa"
4     PVER="0.9.3"
5     PBUILD="r4"
6    
7     PCATEGORIE="media-libs"
8     STATE="unstable"
9    
10     DESCRIPTION="LibOFA (Library Open Fingerprint Architecture) is an open-source audio fingerprint created and provided by MusicIP."
11     HOMEPAGE="http://code.google.com/p/musicip-libofa/"
12    
13     DEPEND=">= dev-libs/expat-2
14     >= sci-libs/fftw3-3.2
15     >= net-misc/curl-7"
16    
17     SDEPEND=">= dev-util/pkgconfig-0.23"
18    
19     SRCFILE="${PNAME}-${PVER}.tar.gz"
20     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21    
22     sminclude mbuild
23    
24     SRC_URI=(
25     http://musicip-libofa.googlecode.com/files/${SRCFILE}
26     http://www.musicip.com/dns/files/${SRCFILE}
27     mirror://${PNAME}/${SRCFILE}
28     mirror://${PNAME}/${PNAME}-${PVER}-gcc4.patch
29 niro 1608 mirror://${PNAME}/${PNAME}-${PVER}-gcc43.patch
30 niro 1607 )
31    
32     UP2DATE="updatecmd http://code.google.com/p/musicip-libofa/downloads/list | grep ${PNAME}- | lasttarball gz"
33    
34     src_prepare()
35     {
36     munpack ${SRCFILE} || die
37     cd ${SRCDIR}
38    
39     # fixes compilation with gcc4
40     mpatch ${PNAME}-${PVER}-gcc4.patch || die
41 niro 1608
42     # fixes compilation with gcc4.3
43     mpatch ${PNAME}-${PVER}-gcc43.patch || die
44 niro 1607 }

Properties

Name Value
svn:keywords Id