Magellan Linux

Contents of /branches/magellan-next/core/libofa/libofa-0.9.3-r7.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8725 - (show annotations) (download)
Thu Jul 28 08:22:14 2011 UTC (12 years, 10 months ago) by niro
File size: 1101 byte(s)
auto added: ver bump to 0.9.3-r7
1 # $Id$
2
3 PNAME="libofa"
4 PVER="0.9.3"
5 PBUILD="r7"
6
7 PCATEGORIE="media-libs"
8
9 DESCRIPTION="LibOFA (Library Open Fingerprint Architecture) is an open-source audio fingerprint created and provided by MusicIP."
10 HOMEPAGE="http://code.google.com/p/musicip-libofa/"
11
12 DEPEND=">= dev-libs/expat-2
13 >= sci-libs/fftw3-3.3
14 >= net-misc/curl-7"
15
16 SDEPEND=">= dev-util/pkgconfig-0.25"
17
18 SRCFILE="${PNAME}-${PVER}.tar.gz"
19 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
20
21 sminclude mbuild
22
23 SRC_URI=(
24 http://musicip-libofa.googlecode.com/files/${SRCFILE}
25 mirror://${PNAME}/${SRCFILE}
26 mirror://${PNAME}/${PNAME}-${PVER}-gcc4.patch
27 mirror://${PNAME}/${PNAME}-${PVER}-gcc43.patch
28 mirror://${PNAME}/${PNAME}-${PVER}-gcc45.patch
29 )
30
31 UP2DATE="updatecmd http://code.google.com/p/musicip-libofa/downloads/list | grep ${PNAME}- | lasttarball gz"
32
33 src_prepare()
34 {
35 munpack ${SRCFILE} || die
36 cd ${SRCDIR}
37
38 # fixes compilation with gcc4
39 mpatch ${PNAME}-${PVER}-gcc4.patch || die
40
41 # fixes compilation with gcc4.3
42 mpatch ${PNAME}-${PVER}-gcc43.patch || die
43
44 # fixes compilation with gcc4.5
45 mpatch ${PNAME}-${PVER}-gcc45.patch || die
46 }